about summary refs log tree commit diff homepage
path: root/MetaSMT.mk
diff options
context:
space:
mode:
authorHoang M. Le <hle@informatik.uni-bremen.de>2017-03-21 13:56:05 +0100
committerDan Liew <delcypher@gmail.com>2017-05-02 11:41:18 +0100
commitaf9b2eee77cc5ac79ff647a0e3fa51f464702e31 (patch)
treec288b9356e2023eaee009e8b7b1a595d6cb7dda2 /MetaSMT.mk
parent28872c1a0cb8a8f6b835af67719b9cd9aba66d3f (diff)
downloadklee-af9b2eee77cc5ac79ff647a0e3fa51f464702e31.tar.gz
use METASMT_REQUIRE_RTTI flag to decide whether we need RTTI
Diffstat (limited to 'MetaSMT.mk')
-rw-r--r--MetaSMT.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/MetaSMT.mk b/MetaSMT.mk
index 817fa663..32f60ac0 100644
--- a/MetaSMT.mk
+++ b/MetaSMT.mk
@@ -8,6 +8,8 @@ ifeq ($(ENABLE_METASMT),1)
   CXX.Flags += $(metaSMT_CXXFLAGS)
   CXX.Flags += $(metaSMT_INCLUDES)
   CXX.Flags := $(filter-out -fno-exceptions,$(CXX.Flags))
-  CXX.Flags := $(filter-out -fno-rtti,$(CXX.Flags))
+  ifeq ($(metaSMT_REQUIRE_RTTI),true)
+    CXX.Flags := $(filter-out -fno-rtti,$(CXX.Flags))
+  endif  
   LIBS += $(metaSMT_LDLIBS)
 endif