mirror of
https://github.com/reactos/ninja.git
synced 2024-12-12 13:55:35 +00:00
enable libstd++ debugging in debug mode
This commit is contained in:
parent
490e7d902c
commit
dc759f9ae2
@ -116,7 +116,9 @@ else:
|
|||||||
'-fno-exceptions',
|
'-fno-exceptions',
|
||||||
'-fvisibility=hidden', '-pipe',
|
'-fvisibility=hidden', '-pipe',
|
||||||
"'-DNINJA_PYTHON=\"%s\"'" % (options.with_python,)]
|
"'-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']
|
cflags += ['-O2', '-DNDEBUG']
|
||||||
ldflags = ['-L$builddir']
|
ldflags = ['-L$builddir']
|
||||||
libs = []
|
libs = []
|
||||||
|
Loading…
Reference in New Issue
Block a user