Add explicit dependency on libatomic.
@@ -36,6 +36,10 @@ function(setup_vespa_default_build_settings_centos_8)
else()
set(DEFAULT_VESPA_LLVM_VERSION "11" PARENT_SCOPE)
endif()
+ if(CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64")
+ set(DEFAULT_CMAKE_SHARED_LINKER_FLAGS " -latomic " PARENT_SCOPE)
+ set(DEFAULT_CMAKE_LINKER_FLAGS " -latomic " PARENT_SCOPE)
+ endif()
endfunction()
function(setup_vespa_default_build_settings_rocky_8_4)
