Use ld when lld fails

* Android's clang lld link rules do not work with the special link order of
  libunwind_llvm yet.

Bug: 78118944
Test: make checkbuild and boot
Change-Id: Ife9707f111dfd24cb84b56754a4fc3f826f722c4
This commit is contained in:
Chih-Hung Hsieh 2018-03-09 14:43:17 -08:00
parent 22dc27b9fa
commit 29e54f8e75

View file

@ -46,6 +46,12 @@ cc_library {
static_libs: ["libunwind_llvm"],
},
},
// TODO(b/78118944), clang lld link flags do not work with special link
// rules for libunwind_llvm yet. Linked aosp_arm-eng image failed to
// boot up in the emulator.
use_clang_lld: false,
export_include_dirs: ["include"],
local_include_dirs: ["include"],
}