diff options
| -rw-r--r-- | cc/config/clang.go | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/cc/config/clang.go b/cc/config/clang.go index 22969eb78..08c638d00 100644 --- a/cc/config/clang.go +++ b/cc/config/clang.go @@ -97,12 +97,9 @@ func init() { pctx.StaticVariable("ClangExtraCflags", strings.Join([]string{ "-D__compiler_offsetof=__builtin_offsetof", - // Emit address-significance table which allows linker to perform safe ICF. Clang does - // not emit the table by default on Android since NDK still uses GNU binutils. - "-faddrsig", - - // -Wimplicit-fallthrough is not enabled by -Wall. + // Make implicit fallthrough an error in the future. "-Wimplicit-fallthrough", + "-Wno-error=implicit-fallthrough", // Help catch common 32/64-bit errors. "-Werror=int-conversion", |