aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'wscript')
-rw-r--r--wscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/wscript b/wscript
index 542329b4..7be924be 100644
--- a/wscript
+++ b/wscript
@@ -99,6 +99,9 @@ def configure(conf):
],
})
+ if 'mingw' in conf.env.CC[0]:
+ conf.env.append_value('CFLAGS', '-Wno-unused-macros')
+
conf.env.update({
'BUILD_UTILS': not Options.options.no_utils,
'BUILD_SHARED': not Options.options.no_shared,