aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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