aboutsummaryrefslogtreecommitdiffstats
path: root/tinyxml2/makefile
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2017-03-12 11:35:02 +0000
committerbloodstalker <thabogre@gmail.com>2017-03-12 11:35:02 +0000
commitdea25925a26dc1dfe939400be732ac58cb21e8c6 (patch)
treed4d2b3df3242510bbab46bfa28c276dc5b638c0b /tinyxml2/makefile
parentadded a new data structure for SaferCPlusPlus equivalency (diff)
downloadmutator-dea25925a26dc1dfe939400be732ac58cb21e8c6.tar.gz
mutator-dea25925a26dc1dfe939400be732ac58cb21e8c6.zip
added a new build mode for c++14
Diffstat (limited to 'tinyxml2/makefile')
-rw-r--r--tinyxml2/makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/tinyxml2/makefile b/tinyxml2/makefile
index 2777bf8..339e256 100644
--- a/tinyxml2/makefile
+++ b/tinyxml2/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
+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++.)