From 5a8f20f5a7b818e8e9d0be7f24f232bed0078834 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 8 Aug 2012 21:01:41 +0000 Subject: Move MSVC C99 gunk into autowaf. --- wscript | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'wscript') diff --git a/wscript b/wscript index d27c73b..fe00f66 100644 --- a/wscript +++ b/wscript @@ -41,10 +41,7 @@ def configure(conf): Options.options.no_plugins = True autowaf.configure(conf) - if conf.env.MSVC_COMPILER: - conf.env.append_unique('CFLAGS', ['-TP', '-MD']) - else: - conf.env.append_unique('CFLAGS', '-std=c99') + autowaf.set_c99_mode(conf) if Options.platform == 'win32' or not hasattr(os.path, 'relpath'): Logs.warn('System does not support linking headers, copying') -- cgit v1.2.1