Fix broken aosp-master-plus-llvm builds

* New flags cannot be added before llvm_android
  has a new version.

Bug: 241941550
Bug: 241601211
Test: presubmit
Change-Id: Ibab8cfa9129eac824a3d5fb9c3124ba807ba4245
This commit is contained in:
Chih-Hung Hsieh
2022-08-15 14:36:02 -07:00
parent 6715377e58
commit 8b5ecb8455

View File

@@ -290,11 +290,7 @@ var (
"-Wno-deprecated-non-prototype",
}
llvmNextExtraCommonGlobalCflags = []string{
"-Wno-error=array-parameter", // http://b/241941550
"-Wno-error=deprecated-builtins", // http://b/241601211
"-Wno-error=deprecated", // in external/googletest/googletest
}
llvmNextExtraCommonGlobalCflags = []string{}
IllegalFlags = []string{
"-w",