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

Commit b66f9e6f authored by Pirama Arumuga Nainar's avatar Pirama Arumuga Nainar
Browse files

Disable lld for windows host modules

Bug: http://b/69933068
Bug: http://b/110800681

lld cannot link Android's Windows modules yet

Test: m native-host-cross
Change-Id: I4945e5f84637443195294e575be8ebbe871d32b5
parent 6291a4a2
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -18,10 +18,14 @@ else
  endif
endif

# Do not use LLD for Darwin host executables or shared libraries.
# See https://lld.llvm.org/AtomLLD.html for status of lld for Mach-O.
ifeq ($(LOCAL_IS_HOST_MODULE),true)
  # Do not use LLD for Darwin host executables or shared libraries.  See
  # https://lld.llvm.org/AtomLLD.html for status of lld for Mach-O.
  ifeq ($(HOST_OS),darwin)
    my_use_clang_lld := false
  endif
  # http://b/110800681 - lld cannot link Android's Windows modules yet.
  ifeq ($(HOST_CROSS_OS),windows)
    my_use_clang_lld := false
  endif
endif