summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.py b/configure.py
index bd50e67..69e00d5 100755
--- 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):