aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-09-03 08:41:19 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-09-03 08:41:19 +0000
commitaa60dbfb37ac272541b11fa4a52f57ebcd259e44 (patch)
treea4c56587342e1102c6f6ebe189d74d852d021405
parent4c2c53353e8998a94058c110bdddcbc84e3cd3fc (diff)
downloadexternal_llvm-aa60dbfb37ac272541b11fa4a52f57ebcd259e44.zip
external_llvm-aa60dbfb37ac272541b11fa4a52f57ebcd259e44.tar.gz
external_llvm-aa60dbfb37ac272541b11fa4a52f57ebcd259e44.tar.bz2
Filter out -fno-rtti from CXXFLAGS as well (in an expensive checks build).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80910 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--Makefile.rules1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 23e554d..d96838e 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -436,6 +436,7 @@ ifdef ENABLE_EXPENSIVE_CHECKS
# GNU libstdc++ uses RTTI if you define _GLIBCXX_DEBUG, which we did above.
# See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40160
CXX.Flags := $(filter-out -fno-rtti,$(CXX.Flags))
+ CXXFLAGS := $(filter-out -fno-rtti,$(CXXFLAGS))
endif
#--------------------------------------------------------------------