summaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2010-04-24 04:56:34 +0000
committerNick Lewycky <nicholas@mxc.ca>2010-04-24 04:56:34 +0000
commit395af84652fdcfe3b44d0ffd1422301361980253 (patch)
tree99ec3b04a221a46c76373b2d059238bf0340aa3c /Makefile.rules
parentc82c20b315d47c124893ed1cb27c39b0050fd227 (diff)
downloadllvm-395af84652fdcfe3b44d0ffd1422301361980253.tar.gz
llvm-395af84652fdcfe3b44d0ffd1422301361980253.tar.bz2
llvm-395af84652fdcfe3b44d0ffd1422301361980253.tar.xz
Don't touch CXXFLAGS. If it's set in the environment then sub-makes will see
the variable that we set as though it came from the user. Fixes PR6835. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102239 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules1
1 files changed, 0 insertions, 1 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 0c8469a313..ba4fd3a30e 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -388,7 +388,6 @@ endif
# If REQUIRES_RTTI=1 is specified then don't disable run-time type id.
ifneq ($(REQUIRES_RTTI), 1)
CXX.Flags += -fno-rtti
- CXXFLAGS += -fno-rtti
endif
ifdef ENABLE_COVERAGE