aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/CppBackend
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
commit43b5f9312d56be400af031f7487a99b75b7b0f97 (patch)
tree97548e9472c7523c5cfb0ceb63304b2c65daceed /lib/Target/CppBackend
parentc0f8a361f5dc93f0817411ef17af57b0d3fe60b6 (diff)
downloadexternal_llvm-43b5f9312d56be400af031f7487a99b75b7b0f97.tar.gz
external_llvm-43b5f9312d56be400af031f7487a99b75b7b0f97.tar.bz2
external_llvm-43b5f9312d56be400af031f7487a99b75b7b0f97.zip
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 'lib/Target/CppBackend')
-rw-r--r--lib/Target/CppBackend/Makefile2
-rw-r--r--lib/Target/CppBackend/TargetInfo/Makefile1
2 files changed, 0 insertions, 3 deletions
diff --git a/lib/Target/CppBackend/Makefile b/lib/Target/CppBackend/Makefile
index 52f2aadfa3..d75f4e8722 100644
--- a/lib/Target/CppBackend/Makefile
+++ b/lib/Target/CppBackend/Makefile
@@ -9,8 +9,6 @@
LEVEL = ../../..
LIBRARYNAME = LLVMCppBackend
-CXXFLAGS = -fno-rtti
-
DIRS = TargetInfo
include $(LEVEL)/Makefile.common
diff --git a/lib/Target/CppBackend/TargetInfo/Makefile b/lib/Target/CppBackend/TargetInfo/Makefile
index 7e44aab509..6e682838da 100644
--- a/lib/Target/CppBackend/TargetInfo/Makefile
+++ b/lib/Target/CppBackend/TargetInfo/Makefile
@@ -8,7 +8,6 @@
##===----------------------------------------------------------------------===##
LEVEL = ../../../..
LIBRARYNAME = LLVMCppBackendInfo
-CXXFLAGS = -fno-rtti
# Hack: we need to include 'main' target directory to grab private headers
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..