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

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Sat Feb 8 05:15:41 PST 2025


================
@@ -240,26 +240,28 @@ add_entrypoint_object(
 add_subdirectory(printf_core)
 add_subdirectory(scanf_core)
 
-add_entrypoint_object(
-  remove
-  ALIAS
-  DEPENDS
-    .${LIBC_TARGET_OS}.remove
-)
+if(NOT LIBC_TARGET_OS_IS_UEFI)
----------------
jhuber6 wrote:

Why is this necessary? If these cannot be used then don't enable them in the entrypoints list.

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


More information about the libc-commits mailing list