From 68a2b37aed75a6717ef6aa5f39f548a39dbefaf3 Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Wed, 29 Mar 2017 15:08:54 +0430 Subject: added the frtti option,added a check for rtti before trying ot build it --- safercpp/makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'safercpp') 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 -- cgit v1.2.3