Merge "Disable lld where it fails." am: 0c8eea86f9 am: dd2277a9bd
am: 4d92ca3f65

Change-Id: I5d7a0970bcec57c478e6819bf41dc5db23822d89
diff --git a/Android.mk b/Android.mk
index ed09b49..010a516 100644
--- a/Android.mk
+++ b/Android.mk
@@ -133,6 +133,10 @@
 
 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)