aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'wscript')
-rw-r--r--wscript6
1 files changed, 1 insertions, 5 deletions
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