to address following failure when generating the building system
using CMake:
```
-- Performing Test HAVE_LIBATOMIC
-- Performing Test HAVE_LIBATOMIC - Failed
CMake Error at cmake/modules/CheckCxxAtomic.cmake:66 (message):
Host compiler /opt/rh/gcc-toolset-11/root/usr/bin/c++ requires libatomic,
but it is not found
```
Signed-off-by: Kefu Chai <tchaikov@gmail.com>
%if 0%{?rhel} >= 8
BuildRequires: gcc-toolset-11-gcc-c++
BuildRequires: gcc-toolset-11-build
+%ifarch aarch64
+BuildRequires: gcc-toolset-11-libatomic-devel
+%endif
%endif
%if 0%{with tcmalloc}
# libprofiler did not build on ppc64le until 2.7.90
BuildRequires: gcc-toolset-11-annobin-plugin-gcc
BuildRequires: gcc-toolset-11-libubsan-devel
BuildRequires: gcc-toolset-11-libasan-devel
-BuildRequires: gcc-toolset-11-libatomic-devel
%endif
%endif
#################################################################################