diff options
author | Chris Lattner <sabre@nondot.org> | 2010-01-24 20:43:08 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-01-24 20:43:08 +0000 |
commit | 43b5f9312d56be400af031f7487a99b75b7b0f97 (patch) | |
tree | 97548e9472c7523c5cfb0ceb63304b2c65daceed /utils/unittest | |
parent | c0f8a361f5dc93f0817411ef17af57b0d3fe60b6 (diff) |
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 'utils/unittest')
-rw-r--r-- | utils/unittest/UnitTestMain/Makefile | 1 | ||||
-rw-r--r-- | utils/unittest/googletest/Makefile | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/utils/unittest/UnitTestMain/Makefile b/utils/unittest/UnitTestMain/Makefile index 7b49191fd6..328d5e2917 100644 --- a/utils/unittest/UnitTestMain/Makefile +++ b/utils/unittest/UnitTestMain/Makefile @@ -13,6 +13,7 @@ include $(LEVEL)/Makefile.config LIBRARYNAME = UnitTestMain BUILD_ARCHIVE = 1 +REQUIRES_RTTI = 1 CPP.Flags += -I$(LLVM_SRC_ROOT)/utils/unittest/googletest/include CPP.Flags += $(NO_MISSING_FIELD_INITIALIZERS) $(NO_VARIADIC_MACROS) diff --git a/utils/unittest/googletest/Makefile b/utils/unittest/googletest/Makefile index 2d2c282976..15bbf4e69e 100644 --- a/utils/unittest/googletest/Makefile +++ b/utils/unittest/googletest/Makefile @@ -13,6 +13,7 @@ include $(LEVEL)/Makefile.config LIBRARYNAME = GoogleTest BUILD_ARCHIVE = 1 +REQUIRES_RTTI = 1 CPP.Flags += -I$(LLVM_SRC_ROOT)/utils/unittest/googletest/include CPP.Flags += $(NO_MISSING_FIELD_INITIALIZERS) $(NO_VARIADIC_MACROS) |