Group :: Databases
RPM: redis
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: redis-7.2.0-alt2.patch
Download
Download
src/Makefile | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/Makefile b/src/Makefile
index ecbd2753d..6330dde56 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -121,10 +121,13 @@ FINAL_LDFLAGS=$(LDFLAGS) $(REDIS_LDFLAGS) $(DEBUG)
FINAL_LIBS=-lm
DEBUG=-g -ggdb
-# Linux ARM32 needs -latomic at linking time
+# Linux ARM32 and MIPS needs -latomic at linking time
ifneq (,$(findstring armv,$(uname_M)))
FINAL_LIBS+=-latomic
endif
+ifneq (,$(findstring mips,$(uname_M)))
+ FINAL_LIBS+=-latomic
+endif
ifeq ($(uname_S),SunOS)
# SunOS