Update flags to match make
Change-Id: I8ba24723d5b507fa178255c124b11356719700cb
diff --git a/cc/clang.go b/cc/clang.go
index 347efbe..92061f3 100644
--- a/cc/clang.go
+++ b/cc/clang.go
@@ -10,10 +10,13 @@
"-finline-functions",
"-finline-limit=64",
"-fno-canonical-system-headers",
+ "-Wno-clobbered",
+ "-fno-devirtualize",
"-fno-tree-sra",
"-fprefetch-loop-arrays",
"-funswitch-loops",
"-Wmaybe-uninitialized",
+ "-Wno-error=clobbered",
"-Wno-error=maybe-uninitialized",
"-Wno-error=unused-but-set-parameter",
"-Wno-error=unused-but-set-variable",
@@ -50,6 +53,7 @@
// mips + mips64
"-msynci",
+ "-mno-synci",
"-mno-fused-madd",
// x86 + x86_64
@@ -70,6 +74,7 @@
// Disable overly aggressive warning for macros defined with a leading underscore
// This happens in AndroidConfig.h, which is included nearly everywhere.
+ // TODO: can we remove this now?
"-Wno-reserved-id-macro",
// Disable overly aggressive warning for format strings.