about summary refs log tree commit diff homepage
path: root/unittests/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'unittests/Makefile')
-rw-r--r--unittests/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/unittests/Makefile b/unittests/Makefile
index 761987d6..dd005620 100644
--- a/unittests/Makefile
+++ b/unittests/Makefile
@@ -14,5 +14,9 @@ DIRS = Expr Solver Ref
 
 include $(LEVEL)/Makefile.common
 
+# Remove -fno-rtti as this prevents typeid() being used
+# in gtest
+CXX.Flags := $(filter-out -fno-rtti,$(CPP.Flags))
+
 clean::
 	$(Verb) $(RM) -f *Tests