[Lldb-commits] [lldb] [lldb] Support Darwin cross compilation for remote Linux test suite runs (PR #151403)
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Wed Jul 30 19:50:36 PDT 2025
================
@@ -355,6 +355,16 @@ ifeq "$(OS)" "Windows_NT"
endif
endif
+#----------------------------------------------------------------------
+# Darwin cross compilation
+#----------------------------------------------------------------------
+ifeq "$(HOST_OS)" "Darwin"
+ ifneq "$(HOST_OS)" "$(OS)"
+ LDFLAGS += -fuse-ld=lld
----------------
JDevlieghere wrote:
Yeah good point, I was trying to be generic but we shouldn't use lld when targeting a remote Darwin device.
https://github.com/llvm/llvm-project/pull/151403
More information about the lldb-commits
mailing list