diff options
Diffstat (limited to 'configure.py')
-rwxr-xr-x | configure.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.py b/configure.py index cce4197..eb97547 100755 --- a/configure.py +++ b/configure.py @@ -116,7 +116,9 @@ else: '-fno-exceptions', '-fvisibility=hidden', '-pipe', "'-DNINJA_PYTHON=\"%s\"'" % (options.with_python,)] - if not options.debug: + if options.debug: + cflags += ['-D_GLIBCXX_DEBUG', '-D_GLIBCXX_DEBUG_PEDANTIC'] + else: cflags += ['-O2', '-DNDEBUG'] ldflags = ['-L$builddir'] libs = [] |