aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-05-11 11:13:54 -0400
committerDavid Robillard <d@drobilla.net>2022-05-11 14:30:20 -0400
commitf2d97030cfe3d809b2a117d777dc09f56a198f2d (patch)
tree1548c4a36582b5b1c9199f3329bc3600e19868d1 /wscript
parent854a31c81ed47d5b1fa2c9756dcebb11000ef06e (diff)
downloadlv2-f2d97030cfe3d809b2a117d777dc09f56a198f2d.tar.xz
Fix strict build on MacOS 11.6
Diffstat (limited to 'wscript')
-rw-r--r--wscript4
1 files changed, 3 insertions, 1 deletions
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