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

Tristan Ross via libc-commits libc-commits at lists.llvm.org
Fri Dec 20 07:50:11 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()
----------------
RossComputerGuy wrote:

Yes, since they both match on unknown. It would just shift to the 3rd component.

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


More information about the libc-commits mailing list