aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-03-08 12:32:14 +0100
committerDavid Robillard <d@drobilla.net>2020-03-08 14:40:51 +0100
commit083cd9da9f1207d834e525af7dfea7503cb85359 (patch)
tree902eb136b650e01bc56f7c5adeef73eeb99ee36c
parent3c2c627a7da5cafe693e2a1af98c26f97950343f (diff)
downloadpugl-083cd9da9f1207d834e525af7dfea7503cb85359.tar.gz
pugl-083cd9da9f1207d834e525af7dfea7503cb85359.tar.bz2
pugl-083cd9da9f1207d834e525af7dfea7503cb85359.zip
Cleanup: Fix pyflake warnings
-rw-r--r--wscript9
1 files changed, 5 insertions, 4 deletions
diff --git a/wscript b/wscript
index f7441d9..81e682d 100644
--- a/wscript
+++ b/wscript
@@ -61,12 +61,13 @@ def configure(conf):
if Options.options.ultra_strict and 'clang' in conf.env.CC:
for var in ['CFLAGS', 'CXXFLAGS']:
- conf.env[var] = [f for f in conf.env[var] if not f.startswith('-W')]
+ flags = conf.env[var]
+ conf.env[var] = [f for f in flags if not f.startswith('-W')]
conf.env.append_value(var, [
'-Weverything',
'-Wno-bad-function-cast',
- '-Wno-documentation', # Cairo
- '-Wno-documentation-unknown-command', # Cairo
+ '-Wno-documentation', # Cairo
+ '-Wno-documentation-unknown-command', # Cairo
'-Wno-double-promotion',
'-Wno-float-equal',
'-Wno-format-nonliteral',
@@ -74,7 +75,7 @@ def configure(conf):
'-Wno-reserved-id-macro',
'-Wno-sign-conversion',
'-Wno-switch-enum',
- '-Wno-unused-macros', # GL_SILENCE_DEPRECATION
+ '-Wno-unused-macros', # GL_SILENCE_DEPRECATION
])
conf.env.append_value('CXXFLAGS', ['-Wno-c++98-compat',