aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-10 13:19:45 +0100
committerDavid Robillard <d@drobilla.net>2020-11-10 13:19:45 +0100
commita9efbbbbbd80322c134a62d9d986fc861346c5de (patch)
tree0491bb5e942f4ec5f615ab531fe056f56f0110ec /wscript
parent2378c1cfbccc2012387d3361d3a8120b38582df0 (diff)
downloadserd-a9efbbbbbd80322c134a62d9d986fc861346c5de.tar.gz
serd-a9efbbbbbd80322c134a62d9d986fc861346c5de.tar.bz2
serd-a9efbbbbbd80322c134a62d9d986fc861346c5de.zip
Fix warnings in MinGW build
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,