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 | d11bf276c72fb90393a1c8e04ca6ba25553d5739 (patch) | |
tree | 3f1acbd419ee834c7fb624d61912f06a25e2b842 /Makefile.rules | |
parent | 7985717063d5538f40b90c688f7da9ba8f8c2bf8 (diff) | |
download | external_llvm-d11bf276c72fb90393a1c8e04ca6ba25553d5739.zip external_llvm-d11bf276c72fb90393a1c8e04ca6ba25553d5739.tar.gz external_llvm-d11bf276c72fb90393a1c8e04ca6ba25553d5739.tar.bz2 |
... and fix the REQUIRES_RTTI condition.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81524 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r-- | Makefile.rules | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.rules b/Makefile.rules index 5f442d3..8d1e621 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 |