aboutsummaryrefslogtreecommitdiffstats
path: root/safercpp
diff options
context:
space:
mode:
Diffstat (limited to 'safercpp')
-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