summaryrefslogtreecommitdiffstats
path: root/wscript
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
commit654dfb708164055acfdd7a8530f68395f3e0a7d6 (patch)
tree4bc44470bc9da704fa9a85ac22bf2ab65296e292 /wscript
parent84c23186bbf9e0801de6af92ee8b60e28dfc9b03 (diff)
downloadlilv-654dfb708164055acfdd7a8530f68395f3e0a7d6.tar.gz
lilv-654dfb708164055acfdd7a8530f68395f3e0a7d6.tar.bz2
lilv-654dfb708164055acfdd7a8530f68395f3e0a7d6.zip
Update to r74/autowaf (Add autowaf.set_c99_mode()).
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4625 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r--wscript6
1 files changed, 1 insertions, 5 deletions
diff --git a/wscript b/wscript
index 7143759..38f06dd 100644
--- a/wscript
+++ b/wscript
@@ -61,13 +61,9 @@ def configure(conf):
pass
autowaf.configure(conf)
+ autowaf.set_c99_mode(conf)
autowaf.display_header('Lilv 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_UTILS = not Options.options.no_utils
conf.env.BUILD_STATIC = Options.options.static