summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2018-03-07 21:59:52 -0800
committerChih-Hung Hsieh <chh@google.com>2018-04-16 09:39:07 -0700
commit83847e6ed9f774a3aa3875e115641d6642ae79d7 (patch)
tree2685150eeb9d924b0a29d48932fa830a396a22c2
parent3c8fdf32743cf075a434c2fb124943c659bb971d (diff)
Disable lld where it fails.
Bug: 77543887 Test: make checkbuild and boot Change-Id: I4134a8eec592dac347c84cc7dc3f9f99f27bc50c
-rw-r--r--Android.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 08eb739d..aea09571 100644
--- a/Android.mk
+++ b/Android.mk
@@ -133,6 +133,10 @@ LOCAL_MODULE := recovery
LOCAL_FORCE_STATIC_EXECUTABLE := true
+# Cannot link with LLD: undefined symbol: UsbNoPermissionsLongHelpText
+# http://b/77543887, lld does not handle -Wl,--gc-sections as well as ld.
+LOCAL_USE_CLANG_LLD := false
+
LOCAL_REQUIRED_MODULES := e2fsdroid_static mke2fs_static mke2fs.conf
ifeq ($(TARGET_USERIMAGES_USE_F2FS),true)