diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-09-11 15:45:13 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-09-11 15:45:13 +0000 |
commit | d5b352b0874ab0c5191ba10899bb252608e53172 (patch) | |
tree | 5c12fd0ec8e7b27d2eb93920582c3db283baa342 /Makefile.rules | |
parent | b33cc145619b27cfb5cec3ea4646adaf4f44af98 (diff) | |
download | external_llvm-d5b352b0874ab0c5191ba10899bb252608e53172.zip external_llvm-d5b352b0874ab0c5191ba10899bb252608e53172.tar.gz external_llvm-d5b352b0874ab0c5191ba10899bb252608e53172.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.rules | 3 |
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 |