Merge pull request #66 from omasanori/roundtrip
Split roundtrip_test and leakcheck.
diff --git a/Makefile b/Makefile
index c29093f..6ff8b88 100644
--- a/Makefile
+++ b/Makefile
@@ -153,7 +153,7 @@
progit:
git clone https://github.com/progit/progit.git
-$(BENCHFILE): progit
+$(BENCHDIR)/benchinput.md: progit
echo "" > $@
for lang in ar az be ca cs de en eo es es-ni fa fi fr hi hu id it ja ko mk nl no-nb pl pt-br ro ru sr th tr uk vi zh zh-tw; do \
cat progit/$$lang/*/*.markdown >> $@; \
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index eee9316..b40c1ac 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -88,7 +88,8 @@
SOVERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}
VERSION ${PROJECT_VERSION})
set_target_properties(${STATICLIBRARY} PROPERTIES
- COMPILE_FLAGS -DCMARK_STATIC_DEFINE)
+ COMPILE_FLAGS -DCMARK_STATIC_DEFINE
+ POSITION_INDEPENDENT_CODE ON)
if (MSVC)
set_target_properties(${STATICLIBRARY} PROPERTIES