From b5414b50d988dc263393507130a0bcdfc24e903d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 8 Aug 2012 21:14:36 +0000 Subject: Update to r74/autowaf (Add autowaf.set_c99_mode()). git-svn-id: http://svn.drobilla.net/serd/trunk@372 490d8e77-9747-427b-9fa3-0b8f29cee8a0 --- wscript | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'wscript') 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 -- cgit v1.2.1