summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-08-08 21:14:20 +0000
committerDavid Robillard <d@drobilla.net>2012-08-08 21:14:20 +0000
commit89416fb9555141da41b1a45975b4eaf8b6f9189b (patch)
treea5b7f20f15e513f66aa152a0f0cfca316c0effcd
parent0d819fcb26237e3872ee01f485d3fb542522a7f8 (diff)
downloadsratom-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-xwafbin72475 -> 94174 bytes
-rw-r--r--wscript10
2 files changed, 3 insertions, 7 deletions
diff --git a/waf b/waf
index 62ab137..45a6f80 100755
--- a/waf
+++ b/waf
Binary files differ
diff --git a/wscript b/wscript
index 5f0b4c2..20d521a 100644
--- a/wscript
+++ b/wscript
@@ -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 = []