Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 29e54f8e authored by Chih-Hung Hsieh's avatar Chih-Hung Hsieh
Browse files

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
parent 22dc27b9
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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"],
}