Skip to content

Commit 517934a

Browse files
revert
1 parent a3bd867 commit 517934a

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

libc/src/stdlib/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,6 @@ add_entrypoint_object(
631631
HDRS
632632
exit.h
633633
DEPENDS
634-
libc.src.__support.threads.thread
635634
${exit_deps}
636635
)
637636

libc/src/stdlib/exit.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
namespace LIBC_NAMESPACE_DECL {
1515

1616
extern "C" void __cxa_finalize(void *);
17-
extern "C" void __cxa_thread_finalize();
17+
extern "C" [[gnu::weak]] void __cxa_thread_finalize();
1818

1919
// TODO: use recursive mutex to protect this routine.
2020
[[noreturn]] LLVM_LIBC_FUNCTION(void, exit, (int status)) {

0 commit comments

Comments
 (0)