From a9efbbbbbd80322c134a62d9d986fc861346c5de Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 10 Nov 2020 13:19:45 +0100 Subject: Fix warnings in MinGW build --- wscript | 3 +++ 1 file changed, 3 insertions(+) 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, -- cgit v1.2.1