shims/super/cc: allow -Werror=implicit-function-declaration
This commit is contained in:
parent
a348a14225
commit
61bac2595f
@ -199,7 +199,7 @@ class Cmd
|
|||||||
args << arg unless tool =~ /^g..-4.[02]/
|
args << arg unless tool =~ /^g..-4.[02]/
|
||||||
when /^-Wl,-z,defs/
|
when /^-Wl,-z,defs/
|
||||||
# -Wl,-undefined,error is already the default
|
# -Wl,-undefined,error is already the default
|
||||||
when /^-W[alp],/, /^-Wno-/
|
when /^-W[alp],/, /^-Wno-/, "-Werror=implicit-function-declaration"
|
||||||
args << arg
|
args << arg
|
||||||
when /^-W.*/
|
when /^-W.*/
|
||||||
# prune warnings
|
# prune warnings
|
||||||
|
Loading…
x
Reference in New Issue
Block a user