Have wscript use the environment-provided CFLAGS as per WAF's documented behavior.

This commit is contained in:
Romain Muller 2011-05-18 17:20:08 +02:00
parent 40774549e1
commit d1685ac7e9

View File

@ -50,7 +50,7 @@ def configure(conf):
dbg = conf.options.debug
conf.env.CFLAGS = CFLAGS_UNIX + (CFLAGS_UNIX_DBG if dbg else [])
conf.env.CFLAGS += CFLAGS_UNIX + (CFLAGS_UNIX_DBG if dbg else [])
if conf.env.DEST_OS == 'win32':
conf.env.PLATFORM = 'win32'