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
This commit is contained in:
Chih-Hung Hsieh
2018-04-17 14:16:05 -07:00
parent 556752d3d4
commit 3101a969aa
5 changed files with 36 additions and 16 deletions

View File

@@ -99,7 +99,7 @@ var (
hostGlobalLdflags = []string{}
hostGlobalLldflags = []string{}
hostGlobalLldflags = []string{"-fuse-ld=lld"}
commonGlobalCppflags = []string{
"-Wsign-promo",