We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81e9a3c commit 855af13Copy full SHA for 855af13
libc/src/stdlib/CMakeLists.txt
@@ -416,6 +416,9 @@ add_entrypoint_object(
416
libc.src.__support.OSUtil.osutil
417
)
418
419
+# TODO: Move all exit functions to linux specific
420
+
421
+if (TARGET libc.src.__support.threads.mutex)
422
add_object_library(
423
exit_handler
424
SRCS
@@ -432,6 +435,7 @@ add_object_library(
432
435
libc.src.__support.fixedvector
433
436
libc.src.__support.threads.mutex
434
437
438
+endif()
439
440
add_entrypoint_object(
441
atexit
0 commit comments