mirror of
https://github.com/fluencelabs/redis
synced 2025-04-25 02:22:13 +00:00
Fix Pi build needing -latomic. Issue #6275.
This commit is contained in:
parent
a1b654819c
commit
f5d48537f1
@ -77,6 +77,15 @@ 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
|
||||||
|
ifneq (,$(filter aarch64 armv,$(uname_M)))
|
||||||
|
FINAL_LIBS+=-latomic
|
||||||
|
else
|
||||||
|
ifneq (,$(findstring armv,$(uname_M)))
|
||||||
|
FINAL_LIBS+=-latomic
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(uname_S),SunOS)
|
ifeq ($(uname_S),SunOS)
|
||||||
# SunOS
|
# SunOS
|
||||||
ifneq ($(@@),32bit)
|
ifneq ($(@@),32bit)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user