diff options
| author | 2021-02-25 06:31:22 +0000 | |
|---|---|---|
| committer | 2021-02-25 06:31:22 +0000 | |
| commit | f3e0d222343a7c14159372c7e98fde7f7bbbcb57 (patch) | |
| tree | bb8e5aa4c69024217a555e3e0eb9e65c827ac7fc | |
| parent | 805c74ca09b67f8b970fcfb312c913afc53559a4 (diff) | |
| parent | c28f5d97a6170ec0974da34051d1f9a23730e763 (diff) | |
Merge "reverses common and external Clang flags"
| -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() { |