diff options
| -rw-r--r-- | cc/compiler.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/compiler.go b/cc/compiler.go index e96295c2a..2e71922e1 100644 --- a/cc/compiler.go +++ b/cc/compiler.go @@ -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() { |