Merge "reverses common and external Clang flags"

This commit is contained in:
Stephen Hines 2021-02-25 06:31:22 +00:00 committed by Gerrit Code Review
commit f3e0d22234
1 changed files with 1 additions and 1 deletions

View File

@ -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() {