diff options
author | David Robillard <d@drobilla.net> | 2020-03-08 12:32:14 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-03-08 14:40:51 +0100 |
commit | 083cd9da9f1207d834e525af7dfea7503cb85359 (patch) | |
tree | 902eb136b650e01bc56f7c5adeef73eeb99ee36c | |
parent | 3c2c627a7da5cafe693e2a1af98c26f97950343f (diff) |
Cleanup: Fix pyflake warnings
-rw-r--r-- | wscript | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -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', |