diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-09-11 15:47:24 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-09-11 15:47:24 +0000 |
commit | ccb75c20c343839bc5841fecf63d19521aea0826 (patch) | |
tree | 3f1acbd419ee834c7fb624d61912f06a25e2b842 | |
parent | d5b352b0874ab0c5191ba10899bb252608e53172 (diff) |
... and fix the REQUIRES_RTTI condition.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81524 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | Makefile.rules | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.rules b/Makefile.rules index 5f442d36f1..8d1e621845 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -343,8 +343,8 @@ ifdef REQUIRES_FRAME_POINTER LD.Flags := $(filter-out -fomit-frame-pointer,$(LD.Flags)) endif -# IF REQUIRES_RTTI=1 is specified then don't disable run-time type id -ifndef REQUIRES_RTTI +# If REQUIRES_RTTI=1 is specified then don't disable run-time type id. +ifeq ($(REQUIRES_RTTI), 1) CXX.Flags := $(filter-out -fno-rtti,$(CXX.Flags)) CXXFLAGS := $(filter-out -fno-rtti,$(CXXFLAGS)) endif |