aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2017-03-29 10:38:54 +0000
committerbloodstalker <thabogre@gmail.com>2017-03-29 10:38:54 +0000
commit68a2b37aed75a6717ef6aa5f39f548a39dbefaf3 (patch)
tree64caab0d1c473e98144d9648a34f8da1e4916431
parentwip (diff)
downloadmutator-68a2b37aed75a6717ef6aa5f39f548a39dbefaf3.tar.gz
mutator-68a2b37aed75a6717ef6aa5f39f548a39dbefaf3.zip
added the frtti option,added a check for rtti before trying ot build it
-rw-r--r--safercpp/makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/safercpp/makefile b/safercpp/makefile
index cba8d9e..cd5a0b8 100644
--- a/safercpp/makefile
+++ b/safercpp/makefile
@@ -3,7 +3,12 @@
include ../macros.mk
#######################################VARS####################################
+CXX_FLAGS+=-frtti
SFCPP01=safercpp-arr
+
+ifeq ($(shell $(LLVM_CONF) --has-rtti), NO)
+$(error your llvm-config says you dont have rtti. you cant build safercpparr without rtti support.)
+endif
######################################RULES####################################
.DEFAULT: all