[libcxx-commits] [libcxxabi] [libcxxabi] Always link against libzircon for Fuchsia targets (PR #115910)

Fangrui Song via libcxx-commits libcxx-commits at lists.llvm.org
Fri Dec 6 17:37:16 PST 2024


================
@@ -75,6 +75,10 @@ if (NOT APPLE) # On Apple platforms, we always use -nostdlib++ so we don't need
   add_library_flags_if(LIBCXXABI_HAS_C_LIB c)
 endif()
 
+if (FUCHSIA)
+    add_link_flags("-Wl,--push-state,--as-needed,-lzircon,--pop-state")
----------------
MaskRay wrote:

`TODO: $upper_case` is more common than `TODO `

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


More information about the libcxx-commits mailing list