Merge "reverses common and external Clang flags"
This commit is contained in:
@@ -442,7 +442,7 @@ func (compiler *baseCompiler) compilerFlags(ctx ModuleContext, flags Flags, deps
|
|||||||
fmt.Sprintf("${config.%sClangGlobalCflags}", hod))
|
fmt.Sprintf("${config.%sClangGlobalCflags}", hod))
|
||||||
|
|
||||||
if isThirdParty(modulePath) {
|
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() {
|
if tc.Bionic() {
|
||||||
|
Reference in New Issue
Block a user