diff options
author | Dan Willemsen <dwillemsen@google.com> | 2016-05-06 14:41:18 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@google.com> | 2016-05-06 17:23:15 -0700 |
commit | 2c044aed20703188730661f4b49eb051023cc914 (patch) | |
tree | 176da8d639a56f78932a1950d5da0a6a5a21cccb /cc | |
parent | 6ee75b61cd6aa1f72175fd6c48de2e772c194f7c (diff) | |
download | build_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
Diffstat (limited to 'cc')
-rw-r--r-- | cc/x86_linux_host.go | 1 |
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{ |