Merge pull request #7358 from Bo98/werror

shims/super/cc: allow -Werror=implicit-function-declaration
This commit is contained in:
Mike McQuaid 2020-04-15 16:18:19 +01:00 committed by GitHub
commit 863f38eb24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -199,7 +199,7 @@ class Cmd
args << arg unless tool =~ /^g..-4.[02]/
when /^-Wl,-z,defs/
# -Wl,-undefined,error is already the default
when /^-W[alp],/, /^-Wno-/
when /^-W[alp],/, /^-Wno-/, "-Werror=implicit-function-declaration"
args << arg
when /^-W.*/
# prune warnings