aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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