From c82b86cd0d834ffb8993a9eeb17162002048ed36 Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Mon, 20 Feb 2017 05:34:29 +0330 Subject: fixed some build mode options --- json/makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'json') 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 -- cgit v1.2.3