superenv: filter out -Wno-implicit-fallthrough

Fixes #599.
This commit is contained in:
Misty De Meo committed 2018-07-20 19:52:32 -07:00
1 parent 63d275701b
commit f0e8417be4
1 file changed
+1 -1
+1 -1
View File
@@ -157,7 +157,7 @@ class Cmd
"-fuse-linker-plugin"
# clang doesn't support these flags
args << arg unless tool =~ /^clang/
when "-Wno-deprecated-register"
when "-Wno-deprecated-register", "-Wno-implicit-fallthrough"
# older gccs don't support these flags
args << arg unless tool =~ /^g..-4.[02]/
when /^-W[alp],/, /^-Wno-/