mirror of
https://github.com/reactos/ninja.git
synced 2025-03-04 09:18:44 +00:00
fix --debug for glibc pedantic mode
This commit is contained in:
parent
81a5d01bac
commit
703dcffd6d
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user