Remove duplicate -B entry for host linux clang ldflags
In cc/cc.go, we already add -B{GccRoot}/{GccTriple}/bin to all clang cflags, asflags, and ldflags. So we don't need to add a linux specific version here. Change-Id: I42d71662c78a8170463dfec932a633e4d4ff52c8
This commit is contained in:
parent
6ee75b61cd
commit
2c044aed20
|
@ -71,7 +71,6 @@ var (
|
|||
linuxClangLdflags = append(clangFilterUnknownCflags(linuxLdflags), []string{
|
||||
"--gcc-toolchain=${linuxGccRoot}",
|
||||
"--sysroot ${linuxGccRoot}/sysroot",
|
||||
"-B${linuxGccRoot}/${linuxGccTriple}/bin",
|
||||
}...)
|
||||
|
||||
linuxX86ClangLdflags = append(clangFilterUnknownCflags(linuxX86Ldflags), []string{
|
||||
|
|
Loading…
Reference in New Issue