make -fno-rtti the default unless a directory builds with REQUIRES_RTTI.
[oota-llvm.git] / unittests / Makefile.unittest
index e4174355ed7520393cfb881ed0de4d32db3d632e..656f5e2f412a35a724c0f4823f05de6e4d1b558f 100644 (file)
@@ -14,6 +14,8 @@
 # Set up variables for building a unit test.
 ifdef TESTNAME
 
 # Set up variables for building a unit test.
 ifdef TESTNAME
 
+REQUIRES_RTTI = 1
+
 include $(LEVEL)/Makefile.common
 
 LLVMUnitTestExe = $(BuildMode)/$(TESTNAME)Tests$(EXEEXT)
 include $(LEVEL)/Makefile.common
 
 LLVMUnitTestExe = $(BuildMode)/$(TESTNAME)Tests$(EXEEXT)