aboutsummaryrefslogtreecommitdiffstats
path: root/unittests/Makefile.unittest
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-24 20:43:08 +0000
committerChris Lattner <sabre@nondot.org>2010-01-24 20:43:08 +0000
commite9a40677cd1fd95ed7e9b75a1df19449f432ad9e (patch)
tree97548e9472c7523c5cfb0ceb63304b2c65daceed /unittests/Makefile.unittest
parent9012b32b210db8ef79e17a3d8232458a4ec0e423 (diff)
downloadexternal_llvm-e9a40677cd1fd95ed7e9b75a1df19449f432ad9e.zip
external_llvm-e9a40677cd1fd95ed7e9b75a1df19449f432ad9e.tar.gz
external_llvm-e9a40677cd1fd95ed7e9b75a1df19449f432ad9e.tar.bz2
make -fno-rtti the default unless a directory builds with REQUIRES_RTTI.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94378 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Makefile.unittest')
-rw-r--r--unittests/Makefile.unittest2
1 files changed, 2 insertions, 0 deletions
diff --git a/unittests/Makefile.unittest b/unittests/Makefile.unittest
index e417435..656f5e2 100644
--- a/unittests/Makefile.unittest
+++ b/unittests/Makefile.unittest
@@ -14,6 +14,8 @@
# Set up variables for building a unit test.
ifdef TESTNAME
+REQUIRES_RTTI = 1
+
include $(LEVEL)/Makefile.common
LLVMUnitTestExe = $(BuildMode)/$(TESTNAME)Tests$(EXEEXT)