From 27a7edbd048648adcaa442d3c852d19439c19942 Mon Sep 17 00:00:00 2001 From: Lorenzo Mangani Date: Tue, 10 Dec 2024 12:52:25 +0100 Subject: [PATCH] -mno-outline-atomics for arm64 --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index ff55530..43fa086 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -27,6 +27,7 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Linux") set(WVLET_STATIC_PATH "${CMAKE_CURRENT_SOURCE_DIR}/third-party/linux-arm64_libwvlet.a") set(WVLET_DYNAMIC_URL "https://github.com/quackscience/wvlet-lib/releases/download/latest/linux-arm64_libwvlet.so") set(WVLET_DYNAMIC_PATH "${CMAKE_CURRENT_SOURCE_DIR}/third-party/linux-arm64_libwvlet.so") + string(APPEND _GNU_COMMON_C_CXX_FLAGS " -mno-outline-atomics") endif() elseif(CMAKE_SYSTEM_NAME STREQUAL "Darwin") set(WVLET_STATIC_URL "https://github.com/quackscience/wvlet-lib/releases/download/latest/mac-arm64_libwvlet.a")