diff --git a/libc/src/pthread/CMakeLists.txt b/libc/src/pthread/CMakeLists.txt --- a/libc/src/pthread/CMakeLists.txt +++ b/libc/src/pthread/CMakeLists.txt @@ -253,6 +253,9 @@ libc.include.errno libc.include.pthread libc.src.__support.threads.thread + COMPILE_OPTIONS + -O3 + -fno-omit-frame-pointer ) add_entrypoint_object(