12 lines
513 B
Diff
12 lines
513 B
Diff
--- ceph-ori/cmake/modules/CheckCxxAtomic.cmake 2023-08-21 20:20:31.009088704 +0800
|
|
+++ ceph-16.2.7/cmake/modules/CheckCxxAtomic.cmake 2023-08-21 20:20:53.629126721 +0800
|
|
@@ -11,7 +11,7 @@ function(check_cxx_atomics var)
|
|
#include <atomic>
|
|
#include <cstdint>
|
|
|
|
-#if __s390x__
|
|
+#if defined(__s390x__) || defined(__sw_64__)
|
|
// Boost needs 16-byte atomics for tagged pointers.
|
|
// These are implemented via inline instructions on the platform
|
|
// if 16-byte alignment can be proven, and are delegated to libatomic
|