diff options
author | David Robillard <d@drobilla.net> | 2012-08-08 21:14:20 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-08-08 21:14:20 +0000 |
commit | 89416fb9555141da41b1a45975b4eaf8b6f9189b (patch) | |
tree | a5b7f20f15e513f66aa152a0f0cfca316c0effcd | |
parent | 0d819fcb26237e3872ee01f485d3fb542522a7f8 (diff) | |
download | sratom-89416fb9555141da41b1a45975b4eaf8b6f9189b.tar.gz sratom-89416fb9555141da41b1a45975b4eaf8b6f9189b.tar.bz2 sratom-89416fb9555141da41b1a45975b4eaf8b6f9189b.zip |
Update to r74/autowaf (Add autowaf.set_c99_mode()).
git-svn-id: http://svn.drobilla.net/lad/trunk/sratom@4625 a436a847-0d15-0410-975c-d299462d15a1
-rwxr-xr-x | waf | bin | 72475 -> 94174 bytes | |||
-rw-r--r-- | wscript | 10 |
2 files changed, 3 insertions, 7 deletions
Binary files differ @@ -35,13 +35,9 @@ def options(opt): def configure(conf): conf.load('compiler_c') autowaf.configure(conf) + autowaf.set_c99_mode(conf) autowaf.display_header('Sratom Configuration') - if conf.env.MSVC_COMPILER: - conf.env.append_unique('CFLAGS', ['-TP', '-MD']) - else: - conf.env.append_unique('CFLAGS', '-std=c99') - conf.env.BUILD_TESTS = Options.options.build_tests conf.env.BUILD_STATIC = Options.options.static @@ -75,8 +71,8 @@ def build(bld): ['SERD', 'SORD', 'LV2'], {'SRATOM_MAJOR_VERSION' : SRATOM_MAJOR_VERSION}) - libflags = [ '-fvisibility=hidden' ] - libs = [ 'm' ] + libflags = ['-fvisibility=hidden'] + libs = ['m'] defines = [] if bld.env.MSVC_COMPILER: libflags = [] |