aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2017-02-20 02:04:29 +0000
committerbloodstalker <thabogre@gmail.com>2017-02-20 02:04:29 +0000
commitc82b86cd0d834ffb8993a9eeb17162002048ed36 (patch)
tree488669e11f364f6fd2e97aef24351fe6a3a265d9
parentadded the debug libraries, maybe it fixes the cov build crash (diff)
downloadmutator-c82b86cd0d834ffb8993a9eeb17162002048ed36.tar.gz
mutator-c82b86cd0d834ffb8993a9eeb17162002048ed36.zip
fixed some build mode options
-rw-r--r--json/makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/json/makefile b/json/makefile
index 5249b86..c2ab701 100644
--- a/json/makefile
+++ b/json/makefile
@@ -19,7 +19,7 @@ ifneq ($(CXX), clang++)
$(error This build mode is only useable with clang++.)
endif
EXTRA_CXX_FALGS=-I$(shell $(LLVM_CONF) --src-root)/tools/clang/include -I$(shell $(LLVM_CONF) --obj-root)/tools/clang/include\
- -std=c++11 -stdlib=libstdc++ -UNDEBUG -fprofile-instr-generate -fexceptions
+ -std=c++11 -UNDEBUG -fprofile-instr-generate -fexceptions
EXTRA_LD_FLAGS=-v tinyxml2/tinyxml2.o -fprofile-instr-generate
endif
@@ -53,7 +53,7 @@ ifneq ($(CXX), g++)
$(error This build mode is only useable with g++.)
endif
EXTRA_CXX_FALGS=-I$(shell $(LLVM_CONF) --src-root)/tools/clang/include -I$(shell $(LLVM_CONF) --obj-root)/tools/clang/include\
- -std=c++11 -stdlib=libstdc++ -UNDEBUG -fexceptions
+ -std=c++11 -static-libstdc++ -UNDEBUG -fexceptions
EXTRA_LD_FLAGS=-v tinyxml2/tinyxml2.o
endif
@@ -68,4 +68,4 @@ json.o: json.hpp
$(CXX) $(CXX_FLAGS) -c $< -o $@
clean:
- rm -f *.o \ No newline at end of file
+ rm -f *.o