[libc-commits] [libc] [libc] init uefi os target (PR #120687)
Tristan Ross via libc-commits
libc-commits at lists.llvm.org
Sat Feb 8 07:14:36 PST 2025
================
@@ -736,6 +738,11 @@ function(add_libc_hermetic test_name)
endif()
endforeach()
+ if(LIBC_TARGET_OS_IS_UEFI)
+ target_link_options(${fq_build_target_name} PRIVATE
+ ${LIBC_COMPILE_OPTIONS_DEFAULT} "-Wl,/lldmingw")
----------------
RossComputerGuy wrote:
I did remember trying `--whole-archive` but that didn't work either. It seems only `lldmingw` works or explicitly putting the object files needed.
https://github.com/llvm/llvm-project/pull/120687
More information about the libc-commits
mailing list