Remove redundant -latomic on arm64. (#8867)
This commit is contained in:
parent
074e28a46e
commit
ebfbb09109
@ -93,14 +93,10 @@ FINAL_LDFLAGS=$(LDFLAGS) $(REDIS_LDFLAGS) $(DEBUG)
|
|||||||
FINAL_LIBS=-lm
|
FINAL_LIBS=-lm
|
||||||
DEBUG=-g -ggdb
|
DEBUG=-g -ggdb
|
||||||
|
|
||||||
# Linux ARM needs -latomic at linking time
|
# Linux ARM32 needs -latomic at linking time
|
||||||
ifneq (,$(filter aarch64 armv,$(uname_M)))
|
|
||||||
FINAL_LIBS+=-latomic
|
|
||||||
else
|
|
||||||
ifneq (,$(findstring armv,$(uname_M)))
|
ifneq (,$(findstring armv,$(uname_M)))
|
||||||
FINAL_LIBS+=-latomic
|
FINAL_LIBS+=-latomic
|
||||||
endif
|
endif
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(uname_S),SunOS)
|
ifeq ($(uname_S),SunOS)
|
||||||
# SunOS
|
# SunOS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user