[libc-commits] [libc] [libc] init uefi os target (PR #120687)

Tristan Ross via libc-commits libc-commits at lists.llvm.org
Mon Jan 20 18:05:42 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 believe this was to fix archive libraries not linking all the symbols.

https://github.com/llvm/llvm-project/pull/120687


More information about the libc-commits mailing list