[libc-commits] [libc] [libc] init uefi os target (PR #120687)
Joseph Huber via libc-commits
libc-commits at lists.llvm.org
Fri Dec 20 07:52:05 PST 2024
================
@@ -69,6 +69,10 @@ function(get_arch_and_system_from_triple triple arch_var sys_var)
set(target_sys "darwin")
endif()
+ if(target_sys STREQUAL "unknown")
+ list(GET triple_comps -1 target_sys)
+ endif()
----------------
jhuber6 wrote:
I'm just trying to figure out why this is necessary for the UEFI case but not the Linux case.
https://github.com/llvm/llvm-project/pull/120687
More information about the libc-commits
mailing list