summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-09-27 13:11:27 +0200
committerDavid Robillard <d@drobilla.net>2020-09-27 13:11:56 +0200
commit049a74554f0e09fe2f0327fbd2b78f4b474d0310 (patch)
tree83c977a75168ff292b1c3bcaa632a42737ca7c7a /wscript
parent1af6bef4d6aa06437edb9ba5514deacb21a86c74 (diff)
downloadsord-049a74554f0e09fe2f0327fbd2b78f4b474d0310.tar.gz
sord-049a74554f0e09fe2f0327fbd2b78f4b474d0310.tar.bz2
sord-049a74554f0e09fe2f0327fbd2b78f4b474d0310.zip
Suppress warnings in ultra-strict release builds
Diffstat (limited to 'wscript')
-rw-r--r--wscript5
1 files changed, 5 insertions, 0 deletions
diff --git a/wscript b/wscript
index b02a167..d84a96b 100644
--- a/wscript
+++ b/wscript
@@ -62,17 +62,22 @@ def configure(conf):
if Options.options.ultra_strict:
autowaf.add_compiler_flags(conf.env, '*', {
'gcc': [
+ '-Wno-cast-align',
'-Wno-cast-qual',
'-Wno-conversion',
+ '-Wno-inline',
'-Wno-padded',
'-Wno-sign-conversion',
'-Wno-stack-protector',
+ '-Wno-suggest-attribute=const',
+ '-Wno-suggest-attribute=pure',
'-Wno-switch-enum',
'-Wno-unused-macros',
'-Wno-unused-parameter',
'-Wno-vla',
],
'clang': [
+ '-Wno-cast-align',
'-Wno-cast-qual',
'-Wno-extra-semi-stmt',
'-Wno-format-nonliteral',