summaryrefslogtreecommitdiffstats
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
commit3afcd7cd8072336d67725db2420688fe7ccdb9a3 (patch)
treea466a5f8c0f9f6817c4aa32ae239ef422a14a0a3
parent7905d187e679709b37c5821a3486b15a3fbf8b71 (diff)
downloadbcm5719-llvm-3afcd7cd8072336d67725db2420688fe7ccdb9a3.tar.gz
bcm5719-llvm-3afcd7cd8072336d67725db2420688fe7ccdb9a3.zip
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. llvm-svn: 102239
-rw-r--r--llvm/Makefile.rules1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/Makefile.rules b/llvm/Makefile.rules
index 0c8469a3133..ba4fd3a30eb 100644
--- a/llvm/Makefile.rules
+++ b/llvm/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
OpenPOWER on IntegriCloud