From 44abdfd113283b0935462c6006e4e9e1f235f29e Mon Sep 17 00:00:00 2001 From: Jarred Sumner Date: Mon, 15 Jul 2024 17:21:47 -0700 Subject: [PATCH] Update CMakeLists.txt --- CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 35d7367489..47711fcadb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1194,6 +1194,12 @@ else() -mno-omit-leaf-frame-pointer -faddrsig ) + + if(LINUX) + target_compile_options(${bun} PUBLIC + -fno-asynchronous-unwind-tables + ) + endif() endif() if(APPLE)