================ @@ -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 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits