From 83847e6ed9f774a3aa3875e115641d6642ae79d7 Mon Sep 17 00:00:00 2001 From: Chih-Hung Hsieh Date: Wed, 7 Mar 2018 21:59:52 -0800 Subject: Disable lld where it fails. Bug: 77543887 Test: make checkbuild and boot Change-Id: I4134a8eec592dac347c84cc7dc3f9f99f27bc50c --- Android.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Android.mk b/Android.mk index 08eb739dd..aea095718 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) -- cgit v1.2.3