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:
Dan Willemsen 2016-05-06 14:41:18 -07:00
parent 6ee75b61cd
commit 2c044aed20
1 changed files with 0 additions and 1 deletions

View File

@ -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{