Package: ceph / 10.2.5-6~bpo8+1

mips_mipsel_libatomic.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/src/rocksdb/build_tools/build_detect_platform
+++ b/src/rocksdb/build_tools/build_detect_platform
@@ -362,6 +362,10 @@
   COMMON_FLAGS="$COMMON_FLAGS -march=native "
 fi
 
+if [ "$TARGET_ARCHITECTURE" = "mips" ] ; then
+  PLATFORM_LDFLAGS="$PLATFORM_LDFLAGS -latomic"
+fi
+
 PLATFORM_CCFLAGS="$PLATFORM_CCFLAGS $COMMON_FLAGS"
 PLATFORM_CXXFLAGS="$PLATFORM_CXXFLAGS $COMMON_FLAGS"