Fixed wscript so you can have CFLAGS in your environment while ./waf configure, e.g.

CFLAGS=-O2 ./waf configure --with-all
personal/stbuehler/wip
Stefan Bühler 14 years ago
parent 2546ce9259
commit 1f0b3ac991
  1. 2
      wscript

@ -226,7 +226,7 @@ def configure(conf):
'-DHAVE_CONFIG_H', '-D_GNU_SOURCE',
'-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE_SOURCE', '-D_LARGE_FILES',
]
conf.env['CCFLAGS'] += common_ccflags
conf.env['CCFLAGS'] = tolist(conf.env['CCFLAGS']) + common_ccflags
conf.env['CCFLAGS_lighty'] += lighty_common_ccflags + [ '-DLI_DECLARE_EXPORTS' ]
conf.env['CCFLAGS_lightymod'] += lighty_common_ccflags
conf.env['plugin_PREFIX'] = ''

Loading…
Cancel
Save