shims/super/cc: allow -Werror=implicit-function-declaration

This commit is contained in:
Bo Anderson 2020-04-14 23:17:24 +01:00
parent a348a14225
commit 61bac2595f

View File

@ -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