reverses common and external Clang flags
Flags for external projects are specialisations of the common flags, and need to follow the common flags, not precede them. Bug: 181177782 Test: None Change-Id: I19c8c2a3539573e9b2f2d9e3e1c898fa09570663
This commit is contained in:
parent
ebbf33c42b
commit
c28f5d97a6
1 changed files with 1 additions and 1 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue