wscript: define _GNU_SOURCE.
This commit is contained in:
parent
fc34b88b50
commit
06be33b0cc
2
wscript
2
wscript
|
@ -50,6 +50,8 @@ def configure(conf):
|
|||
conf.env.append_value('CXXFLAGS', optimization_flags )
|
||||
conf.define( 'NDEBUG', 1 )
|
||||
|
||||
conf.define( "_GNU_SOURCE", 1)
|
||||
|
||||
conf.env.append_value('CFLAGS',['-Wall'])
|
||||
# conf.env.append_value('CXXFLAGS',['-Wall','-fno-exceptions', '-fno-rtti'])
|
||||
conf.env.append_value('CXXFLAGS',['-Wall','-fno-rtti'])
|
||||
|
|
Loading…
Reference in New Issue