diff options
Diffstat (limited to 'mesonbuild/dependencies.py')
-rw-r--r-- | mesonbuild/dependencies.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/mesonbuild/dependencies.py b/mesonbuild/dependencies.py index 976adf0..e77abb8 100644 --- a/mesonbuild/dependencies.py +++ b/mesonbuild/dependencies.py @@ -1109,9 +1109,11 @@ why. As a hack filter out everything that is not a flag.""" as -O2 and so on. Drop everything that is not needed.""" result = [] for f in args: - if f.startswith('-D') or f.startswith('-f') or \ - f.startswith('-I') or f == '-pthread' or\ - (f.startswith('-W') and not f == '-Wall'): + if f.startswith('-D') \ + or f.startswith('-f') \ + or f.startswith('-I') \ + or f == '-pthread' \ + or (f.startswith('-W') and not f == '-Wall'): result.append(f) return result |