Merge "reverses common and external Clang flags" am: f3e0d22234
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1606997 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ice6aaad9c334a5ddff365e3a2181748347ab364b
This commit is contained in:
@@ -442,7 +442,7 @@ func (compiler *baseCompiler) compilerFlags(ctx ModuleContext, flags Flags, deps
|
||||
fmt.Sprintf("${config.%sClangGlobalCflags}", hod))
|
||||
|
||||
if isThirdParty(modulePath) {
|
||||
flags.Global.CommonFlags = append([]string{"${config.ClangExternalCflags}"}, flags.Global.CommonFlags...)
|
||||
flags.Global.CommonFlags = append(flags.Global.CommonFlags, "${config.ClangExternalCflags}")
|
||||
}
|
||||
|
||||
if tc.Bionic() {
|
||||
|
Reference in New Issue
Block a user