projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5b352b
)
... and fix the REQUIRES_RTTI condition.
author
Daniel Dunbar
<daniel@zuster.org>
Fri, 11 Sep 2009 15:47:24 +0000
(15:47 +0000)
committer
Daniel Dunbar
<daniel@zuster.org>
Fri, 11 Sep 2009 15:47:24 +0000
(15:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81524
91177308
-0d34-0410-b5e6-
96231b3b80d8
Makefile.rules
patch
|
blob
|
history
diff --git
a/Makefile.rules
b/Makefile.rules
index 5f442d36f12b9bdbd5ca44101ea6d7bf6fff0c19..8d1e621845a03bc0fa6fed0b1f36a0e587ec7a8d 100644
(file)
--- a/
Makefile.rules
+++ b/
Makefile.rules
@@
-343,8
+343,8
@@
ifdef REQUIRES_FRAME_POINTER
LD.Flags := $(filter-out -fomit-frame-pointer,$(LD.Flags))
endif
-# I
F REQUIRES_RTTI=1 is specified then don't disable run-time type id
-if
ndef REQUIRES_RTTI
+# I
f REQUIRES_RTTI=1 is specified then don't disable run-time type id.
+if
eq ($(REQUIRES_RTTI), 1)
CXX.Flags := $(filter-out -fno-rtti,$(CXX.Flags))
CXXFLAGS := $(filter-out -fno-rtti,$(CXXFLAGS))
endif