summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Pirama Arumuga Nainar <pirama@google.com> 2018-04-20 11:52:42 -0700
committer Pirama Arumuga Nainar <pirama@google.com> 2018-04-20 19:11:50 +0000
commit2b8959ad5a37574226f5dbd07a027319e184f7c4 (patch)
tree6408f07e6fafc160d7c717b4abcbed555970924d
parent5fd7dfd124f59c95d04fc4a87a97efa6ce0bb9ed (diff)
Make 'use_clang_lld' property specifiable per architecture
Bug: http://b/73768157 Test: Mark 'use_clang_lld: true' for one arch of a module and verify by inspection that only that arch variant uses lld. Change-Id: I4b0d7a2bc43ee0b8462ab09a5f5c50807129a7fb
-rw-r--r--cc/linker.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/linker.go b/cc/linker.go
index 217630633..d9da404ad 100644
--- a/cc/linker.go
+++ b/cc/linker.go
@@ -59,7 +59,7 @@ type BaseLinkerProperties struct {
No_libgcc *bool
// Use clang lld instead of gnu ld.
- Use_clang_lld *bool
+ Use_clang_lld *bool `android:"arch_variant"`
// -l arguments to pass to linker for host-provided shared libraries
Host_ldlibs []string `android:"arch_variant"`