aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2016-05-06 14:41:18 -0700
committerDan Willemsen <dwillemsen@google.com>2016-05-06 17:23:15 -0700
commit2c044aed20703188730661f4b49eb051023cc914 (patch)
tree176da8d639a56f78932a1950d5da0a6a5a21cccb
parent6ee75b61cd6aa1f72175fd6c48de2e772c194f7c (diff)
downloadbuild_soong-2c044aed20703188730661f4b49eb051023cc914.tar.gz
build_soong-2c044aed20703188730661f4b49eb051023cc914.tar.bz2
build_soong-2c044aed20703188730661f4b49eb051023cc914.zip
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
-rw-r--r--cc/x86_linux_host.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/cc/x86_linux_host.go b/cc/x86_linux_host.go
index e33862d3..246f83a7 100644
--- a/cc/x86_linux_host.go
+++ b/cc/x86_linux_host.go
@@ -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{