cc: filter out -Wno-unused-but-set-variable
Fixes Homebrew/homebrew#35750.
This commit is contained in:
parent
001c238606
commit
53d848e364
@ -155,7 +155,8 @@ class Cmd
|
||||
when /^-g\d?/, /^-gstabs\d+/, '-gstabs+', /^-ggdb\d?/, '-gdwarf-2',
|
||||
/^-march=.+/, /^-mtune=.+/, /^-mcpu=.+/,
|
||||
/^-O[0-9zs]?$/, '-fast', '-no-cpp-precomp',
|
||||
'-pedantic', '-pedantic-errors', '-Wno-long-double'
|
||||
'-pedantic', '-pedantic-errors', '-Wno-long-double',
|
||||
'-Wno-unused-but-set-variable'
|
||||
when '-fopenmp', '-lgomp', '-mno-fused-madd', '-fforce-addr', '-fno-defer-pop',
|
||||
'-mno-dynamic-no-pic', '-fearly-inlining', /^-f(?:no-)?inline-functions-called-once/,
|
||||
/^-finline-limit/, /^-f(?:no-)?check-new/, '-fno-delete-null-pointer-checks',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user