Require libatomic on RHEL 8.
@@ -54,16 +54,6 @@ if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_CXX_COMPILER_ID}" ST
endif()
else()
set(CXX_SPECIFIC_WARN_OPTS "-Wnoexcept -Wsuggest-override -Wnon-virtual-dtor -Wformat-security")
- if((CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") AND
- (VESPA_OS_DISTRO_COMBINED STREQUAL "centos 8" OR
- (VESPA_OS_DISTRO STREQUAL "rocky" AND
- VESPA_OS_DISTRO_VERSION VERSION_GREATER_EQUAL "8" AND
- VESPA_OS_DISTRO_VERSION VERSION_LESS "9") OR
- (VESPA_OS_DISTRO STREQUAL "rhel" AND
- VESPA_OS_DISTRO_VERSION VERSION_GREATER_EQUAL "8" AND
- VESPA_OS_DISTRO_VERSION VERSION_LESS "9")))
- set(VESPA_ATOMIC_LIB "")
- endif()
set(VESPA_GCC_LIB "gcc")
set(VESPA_STDCXX_FS_LIB "stdc++fs")
endif()
