From 2c044aed20703188730661f4b49eb051023cc914 Mon Sep 17 00:00:00 2001 From: Dan Willemsen Date: Fri, 6 May 2016 14:41:18 -0700 Subject: [PATCH] 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 --- cc/x86_linux_host.go | 1 - 1 file changed, 1 deletion(-) diff --git a/cc/x86_linux_host.go b/cc/x86_linux_host.go index e33862d3e..246f83a7f 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{