From f2d97030cfe3d809b2a117d777dc09f56a198f2d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 11 May 2022 11:13:54 -0400 Subject: Fix strict build on MacOS 11.6 --- wscript | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'wscript') diff --git a/wscript b/wscript index f1a471b..efb45f1 100644 --- a/wscript +++ b/wscript @@ -81,7 +81,6 @@ def configure(conf): conf.load('lv2', cache=True) conf.load('autowaf', cache=True) - autowaf.set_c_lang(conf, 'c99') if Options.options.strict: # Check for programs used by lint target @@ -109,6 +108,7 @@ def configure(conf): '-Wno-float-equal', '-Wno-implicit-float-conversion', '-Wno-padded', + '-Wno-poison-system-directories', '-Wno-reserved-id-macro', '-Wno-shorten-64-to-32', '-Wno-sign-conversion', @@ -166,6 +166,8 @@ def configure(conf): ], }) + autowaf.set_c_lang(conf, 'c99') + if conf.env.DEST_OS == 'win32' or not hasattr(os.path, 'relpath'): Logs.warn('System does not support linking headers, copying') Options.options.copy_headers = True -- cgit v1.2.1