diff options
author | David Robillard <d@drobilla.net> | 2012-08-09 03:07:42 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-08-09 03:07:42 +0000 |
commit | 2cd90a3f94ef31e7f7438810e5f9119cf4630de8 (patch) | |
tree | 16a60321e7dde61c44e6ab57c2311bff12b04f97 /wscript | |
parent | bcb498b9e94e7bf1aba5c489ed6cf7ccb198e75d (diff) | |
download | zix-2cd90a3f94ef31e7f7438810e5f9119cf4630de8.tar.gz zix-2cd90a3f94ef31e7f7438810e5f9119cf4630de8.tar.bz2 zix-2cd90a3f94ef31e7f7438810e5f9119cf4630de8.zip |
Update waf and use autowaf.set_c99_mode().
git-svn-id: http://svn.drobilla.net/zix/trunk@74 df6676b4-ccc9-40e5-b5d6-7c4628a128e3
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -38,13 +38,9 @@ def options(opt): def configure(conf): conf.load('compiler_c') autowaf.configure(conf) + autowaf.set_c99_mode(conf) autowaf.display_header('Zix Configuration') - if conf.env['MSVC_COMPILER']: - conf.env.append_unique('CFLAGS', ['-TP', '-MD']) - else: - conf.env.append_unique('CFLAGS', '-std=c99') - conf.env['BUILD_BENCH'] = Options.options.build_bench conf.env['BUILD_TESTS'] = Options.options.build_tests |