Signed-off-by: Kefu Chai <kchai@redhat.com>
extraopts += -DBOOST_J=$(NUMJOBS)
endif
-ifeq ($(DEB_HOST_ARCH), armel)
- # armel supports ARMv4t or above instructions sets.
- # libatomic-ops is only usable with Ceph for ARMv6 or above.
- extraopts += -DWITH_ATOMIC_OPS=OFF
-endif
-
ifneq (,$(filter $(DEB_HOST_ARCH), arm armel armhf arm64 i386 amd64 mips mipsel powerpc ppc64))
# beast depends on libboost_context which only support the archs above
extraopts += -DWITH_RADOSGW_BEAST_FRONTEND=ON
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fdiagnostics-color=${DIAGNOSTICS_COLOR}")
endif()
-set(EXTRALIBS ${CMAKE_DL_LIBS} ${ATOMIC_OPS_LIBRARIES})
+set(EXTRALIBS ${CMAKE_DL_LIBS})
if(NOT APPLE)
list(APPEND EXTRALIBS rt)
endif()