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
This commit is contained in:
Nick Lewycky 2010-04-24 04:56:34 +00:00
parent 7905d187e6
commit 3afcd7cd80
1 changed files with 0 additions and 1 deletions

View File

@ -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