Move Wno-ambiguous-reversed-operator to noOverrideGlobalCflags
Some builds were still failing when it was in noOverrideExternalGlobalCflags
Bug: b/324323434
Change-Id: Ibaaa611f085d94e7defac7f2a6aa70b9eef08552
diff --git a/cc/config/global.go b/cc/config/global.go
index 168fc2f..613641f 100644
--- a/cc/config/global.go
+++ b/cc/config/global.go
@@ -302,6 +302,8 @@
// until then because it causes warnings in the _callers_, not the
// project itself.
"-Wno-deprecated-dynamic-exception-spec",
+ // http://b/324323434
+ "-Wno-ambiguous-reversed-operator",
}
noOverride64GlobalCflags = []string{}
@@ -369,8 +371,6 @@
"-Wno-fortify-source",
"-Wno-tautological-negation-compare",
"-Wno-tautological-undefined-compare",
- // http://324323434
- "-Wno-ambiguous-reversed-operator",
}
llvmNextExtraCommonGlobalCflags = []string{