SHA256
1
0
forked from pool/redis
redis/ppc-atomic.patch

15 lines
450 B
Diff

diff -ur redis-6.2.3.orig/src/Makefile redis-6.2.3/src/Makefile
--- redis-6.2.3.orig/src/Makefile 2021-05-03 21:57:00.000000000 +0200
+++ redis-6.2.3/src/Makefile 2021-05-04 08:48:20.064568420 +0200
@@ -96,6 +96,10 @@
# Linux ARM32 needs -latomic at linking time
ifneq (,$(findstring armv,$(uname_M)))
FINAL_LIBS+=-latomic
+else
+ifneq (,$(findstring ppc,$(uname_M)))
+ FINAL_LIBS+=-latomic
+endif
endif
ifeq ($(uname_S),SunOS)