summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit823aed16f96cd77a88fb6a8113751a8628e6169d (patch)
treeb379583b38c76d0de1cf3f3ff5d853811f92f35b /llvm/unittests/Makefile.unittest
parentdec86d73373f9d25e5db58acdd42e401351007ac (diff)
downloadbcm5719-llvm-823aed16f96cd77a88fb6a8113751a8628e6169d.tar.gz
bcm5719-llvm-823aed16f96cd77a88fb6a8113751a8628e6169d.zip
make -fno-rtti the default unless a directory builds with REQUIRES_RTTI.
llvm-svn: 94378
Diffstat (limited to 'llvm/unittests/Makefile.unittest')
-rw-r--r--llvm/unittests/Makefile.unittest2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/unittests/Makefile.unittest b/llvm/unittests/Makefile.unittest
index e4174355ed7..656f5e2f412 100644
--- a/llvm/unittests/Makefile.unittest
+++ b/llvm/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)
OpenPOWER on IntegriCloud