aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-08-08 21:01:41 +0000
committerDavid Robillard <d@drobilla.net>2012-08-08 21:01:41 +0000
commit5a8f20f5a7b818e8e9d0be7f24f232bed0078834 (patch)
tree1f5df1609a0e719773a788699845356becd5af36 /wscript
parent409a3d0d0cd2bd5fb5af13ee64a4f138827043b0 (diff)
downloadlv2-5a8f20f5a7b818e8e9d0be7f24f232bed0078834.tar.xz
Move MSVC C99 gunk into autowaf.
Diffstat (limited to 'wscript')
-rw-r--r--wscript5
1 files changed, 1 insertions, 4 deletions
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')