wscript: define _GNU_SOURCE.

pull/3/head
Jonathan Moore Liles 2012-11-18 13:22:02 -08:00
parent fc34b88b50
commit 06be33b0cc
1 changed files with 2 additions and 0 deletions

View File

@ -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'])