[libc-commits] [libc] [libc] init uefi os target (PR #120687)
Petr Hosek via libc-commits
libc-commits at lists.llvm.org
Mon Jan 20 17:44:56 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")
----------------
petrhosek wrote:
What's the reason for switching to `lldmingw`? We should be using `lld-link` which is already the default in the Clang UEFI driver: https://github.com/llvm/llvm-project/blob/4e2efc3bd500836d0fa977d6e257ffee2c92e178/clang/lib/Driver/ToolChains/UEFI.cpp#L99
https://github.com/llvm/llvm-project/pull/120687
More information about the libc-commits
mailing list