aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-04-19 19:33:05 +0200
committerDavid Robillard <d@drobilla.net>2020-04-19 19:33:05 +0200
commitd26436acac4d3faae3e1959d80d65bfef3585e20 (patch)
tree38e2dd8d35cc0354516cd3c39035ab3f4997a950
parent5e5d74d3f978dde6ea6ab5c48fb1b02b5d2028d6 (diff)
downloadpugl-d26436acac4d3faae3e1959d80d65bfef3585e20.tar.gz
pugl-d26436acac4d3faae3e1959d80d65bfef3585e20.tar.bz2
pugl-d26436acac4d3faae3e1959d80d65bfef3585e20.zip
Only set custom warnings flags with ultra-strict configuration
-rw-r--r--wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/wscript b/wscript
index f717921..4cea015 100644
--- a/wscript
+++ b/wscript
@@ -68,7 +68,7 @@ def configure(conf):
else:
conf.env.append_unique('LINKFLAGS', ['-fvisibility=hidden'])
append_cflags(['-fvisibility=hidden'])
- if Options.options.strict:
+ if Options.options.ultra_strict:
append_cflags(['-Wunused-parameter', '-Wno-pedantic'])
if conf.env.TARGET_PLATFORM == 'darwin':