aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-04-21 23:28:08 +0200
committerDavid Robillard <d@drobilla.net>2019-04-21 23:28:08 +0200
commitbcf38cbe05887cd4d3a15e20a3539ae4b30a4e7b (patch)
tree4896ae7d38315b9e0d63f23258d4046e40e3e740 /wscript
parent4be819c27f627d0fad0f63cb5817bfca8460541a (diff)
downloadlv2-bcf38cbe05887cd4d3a15e20a3539ae4b30a4e7b.tar.xz
Don't add -Wconversion flag with MSVC
Diffstat (limited to 'wscript')
-rw-r--r--wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/wscript b/wscript
index b432f95..2df4eb4 100644
--- a/wscript
+++ b/wscript
@@ -64,7 +64,7 @@ def configure(conf):
conf.load('autowaf', cache=True)
autowaf.set_c_lang(conf, 'c99')
- if Options.options.ultra_strict:
+ if Options.options.ultra_strict and not conf.env.MSVC_COMPILER:
conf.env.append_value('CFLAGS', ['-Wconversion'])
if conf.env.DEST_OS == 'win32' or not hasattr(os.path, 'relpath'):