aboutsummaryrefslogtreecommitdiffstats
path: root/json
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2017-03-12 11:33:54 +0000
committerbloodstalker <thabogre@gmail.com>2017-03-12 11:33:54 +0000
commitc26d13a40e7fc3d97b55c573b855b8c636720447 (patch)
tree5b6ebbb0fdfcfd68e095df808e016773c6478605 /json
parentadded c++14 test and the daemon executable build tests (diff)
downloadmutator-c26d13a40e7fc3d97b55c573b855b8c636720447.tar.gz
mutator-c26d13a40e7fc3d97b55c573b855b8c636720447.zip
added a new c++14 build mode
Diffstat (limited to 'json')
-rw-r--r--json/makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/json/makefile b/json/makefile
index c2ab701..998fad1 100644
--- a/json/makefile
+++ b/json/makefile
@@ -48,6 +48,15 @@ EXTRA_CXX_FALGS=-I$(shell $(LLVM_CONF) --src-root)/tools/clang/include -I$(shell
EXTRA_LD_FLAGS=-v tinyxml2/tinyxml2.o
endif
+ifeq ($(BUILD_MODE), COV_NO_CLANG_14)
+ifeq ($(CXX), g++)
+$(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++14 -stdlib=libstdc++ -UNDEBUG -fexceptions
+EXTRA_LD_FLAGS=-v tinyxml2/tinyxml2.o
+endif
+
ifeq ($(BUILD_MODE), GNU_MODE)
ifneq ($(CXX), g++)
$(error This build mode is only useable with g++.)