aboutsummaryrefslogtreecommitdiffstats
path: root/cc/config/global.go
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2018-04-17 14:16:05 -0700
committerChih-Hung Hsieh <chh@google.com>2018-04-17 16:01:08 -0700
commit3101a969aaa73fef9d30aac32be9b57d448bd515 (patch)
tree6eaa6715deab9ec20797c20288be0dd4ce92113f /cc/config/global.go
parent556752d3d45ce9a09885382a98b813199b7417be (diff)
downloadbuild_soong-3101a969aaa73fef9d30aac32be9b57d448bd515.tar.gz
build_soong-3101a969aaa73fef9d30aac32be9b57d448bd515.tar.bz2
build_soong-3101a969aaa73fef9d30aac32be9b57d448bd515.zip
Define clang lld flags for hosts.
* Add -fuse-ld=lld to hostGlobalLldflags. * Set up *ClangLldflags variables for hosts. They are the same as *ClangLdflags, but could be changed in the future. Bug: 73768157 Test: make checkbuild Change-Id: I3d61504ab7262d472bbf933df7c1a9bef62519e1
Diffstat (limited to 'cc/config/global.go')
-rw-r--r--cc/config/global.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/config/global.go b/cc/config/global.go
index 051eba54..d998ca2d 100644
--- a/cc/config/global.go
+++ b/cc/config/global.go
@@ -99,7 +99,7 @@ var (
hostGlobalLdflags = []string{}
- hostGlobalLldflags = []string{}
+ hostGlobalLldflags = []string{"-fuse-ld=lld"}
commonGlobalCppflags = []string{
"-Wsign-promo",