aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-08-08 21:14:36 +0000
committerDavid Robillard <d@drobilla.net>2012-08-08 21:14:36 +0000
commitb5414b50d988dc263393507130a0bcdfc24e903d (patch)
tree56cc4e2fc8a89cad5f86ca9e1b14eb3e8e21ccff
parentc054e7eed842629a7505cd738bc91c49591e07fd (diff)
downloadserd-b5414b50d988dc263393507130a0bcdfc24e903d.tar.gz
serd-b5414b50d988dc263393507130a0bcdfc24e903d.tar.bz2
serd-b5414b50d988dc263393507130a0bcdfc24e903d.zip
Update to r74/autowaf (Add autowaf.set_c99_mode()).
git-svn-id: http://svn.drobilla.net/serd/trunk@372 490d8e77-9747-427b-9fa3-0b8f29cee8a0
-rwxr-xr-xwafbin72475 -> 94174 bytes
-rw-r--r--wscript6
2 files changed, 1 insertions, 5 deletions
diff --git a/waf b/waf
index 62ab1377..45a6f80b 100755
--- a/waf
+++ b/waf
Binary files differ
diff --git a/wscript b/wscript
index 17d7b6a9..44cf467f 100644
--- a/wscript
+++ b/wscript
@@ -47,13 +47,9 @@ def options(opt):
def configure(conf):
conf.load('compiler_c')
autowaf.configure(conf)
+ autowaf.set_c99_mode(conf)
autowaf.display_header('Serd 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_SHARED = not Options.options.no_shared