projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b2e82d0
)
Work around the fact that GNU libstdc++'s debug mode uses RTTI.
author
Jay Foad
<jay.foad@gmail.com>
Fri, 15 May 2009 18:13:31 +0000
(18:13 +0000)
committer
Jay Foad
<jay.foad@gmail.com>
Fri, 15 May 2009 18:13:31 +0000
(18:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71871
91177308
-0d34-0410-b5e6-
96231b3b80d8
Makefile.rules
patch
|
blob
|
history
diff --git
a/Makefile.rules
b/Makefile.rules
index 41694bd1ff1a400d15e9090695dce28860355220..23ffe3ea9609f9fdb9112bf20b9576290eb08a77 100644
(file)
--- a/
Makefile.rules
+++ b/
Makefile.rules
@@
-375,6
+375,12
@@
ifeq ($(OS),MingW)
endif
endif
+ifdef ENABLE_EXPENSIVE_CHECKS
+ # GNU libstdc++ uses RTTI if you define _GLIBCXX_DEBUG, which we did above.
+ # See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40160
+ CXX.Flags := $(filter-out -fno-rtti,$(CXX.Flags))
+endif
+
#--------------------------------------------------------------------
# Directory locations
#--------------------------------------------------------------------