From ebfbb091096b6f36cf82e9f6e6583b10fd5b5acb Mon Sep 17 00:00:00 2001 From: Yossi Gottlieb Date: Mon, 26 Apr 2021 18:43:57 +0300 Subject: [PATCH] Remove redundant -latomic on arm64. (#8867) --- src/Makefile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/Makefile b/src/Makefile index ab9b834ad..21945b8db 100644 --- a/src/Makefile +++ b/src/Makefile @@ -93,14 +93,10 @@ FINAL_LDFLAGS=$(LDFLAGS) $(REDIS_LDFLAGS) $(DEBUG) FINAL_LIBS=-lm DEBUG=-g -ggdb -# Linux ARM needs -latomic at linking time -ifneq (,$(filter aarch64 armv,$(uname_M))) - FINAL_LIBS+=-latomic -else +# Linux ARM32 needs -latomic at linking time ifneq (,$(findstring armv,$(uname_M))) FINAL_LIBS+=-latomic endif -endif ifeq ($(uname_S),SunOS) # SunOS