aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.rules
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-09-11 15:45:13 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-09-11 15:45:13 +0000
commit7985717063d5538f40b90c688f7da9ba8f8c2bf8 (patch)
tree5c12fd0ec8e7b27d2eb93920582c3db283baa342 /Makefile.rules
parent1e12b8277f6064a999129a526587d8e7378cb2f3 (diff)
downloadexternal_llvm-7985717063d5538f40b90c688f7da9ba8f8c2bf8.zip
external_llvm-7985717063d5538f40b90c688f7da9ba8f8c2bf8.tar.gz
external_llvm-7985717063d5538f40b90c688f7da9ba8f8c2bf8.tar.bz2
Fix REQUIRES_RTTI while awake.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81523 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 014d697..5f442d3 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -345,7 +345,8 @@ endif
# IF REQUIRES_RTTI=1 is specified then don't disable run-time type id
ifndef REQUIRES_RTTI
- CXX.Flags += -fno-rtti
+ CXX.Flags := $(filter-out -fno-rtti,$(CXX.Flags))
+ CXXFLAGS := $(filter-out -fno-rtti,$(CXXFLAGS))
endif
ifdef ENABLE_COVERAGE