projects
/
platform
/
upstream
/
ninja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81a5d01
)
fix --debug for glibc pedantic mode
author
Evan Martin
<martine@danga.com>
Tue, 4 Sep 2012 22:21:52 +0000
(18:21 -0400)
committer
Evan Martin
<martine@danga.com>
Tue, 4 Sep 2012 22:21:52 +0000
(18:21 -0400)
configure.py
patch
|
blob
|
history
diff --git
a/configure.py
b/configure.py
index
bd50e67
..
69e00d5
100755
(executable)
--- a/
configure.py
+++ b/
configure.py
@@
-138,6
+138,7
@@
else:
'-DNINJA_PYTHON="%s"' % options.with_python]
if options.debug:
cflags += ['-D_GLIBCXX_DEBUG', '-D_GLIBCXX_DEBUG_PEDANTIC']
+ cflags.remove('-fno-rtti') # Needed for above pedanticness.
else:
cflags += ['-O2', '-DNDEBUG']
if 'clang' in os.path.basename(CXX):