Skip to content

Commit 27a7edb

Browse files
authored
-mno-outline-atomics for arm64
1 parent ec8af34 commit 27a7edb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
2727
set(WVLET_STATIC_PATH "${CMAKE_CURRENT_SOURCE_DIR}/third-party/linux-arm64_libwvlet.a")
2828
set(WVLET_DYNAMIC_URL "https://github.com/quackscience/wvlet-lib/releases/download/latest/linux-arm64_libwvlet.so")
2929
set(WVLET_DYNAMIC_PATH "${CMAKE_CURRENT_SOURCE_DIR}/third-party/linux-arm64_libwvlet.so")
30+
string(APPEND _GNU_COMMON_C_CXX_FLAGS " -mno-outline-atomics")
3031
endif()
3132
elseif(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
3233
set(WVLET_STATIC_URL "https://github.com/quackscience/wvlet-lib/releases/download/latest/mac-arm64_libwvlet.a")

0 commit comments

Comments
 (0)