src/Makefile: Link libatomic on POWER systems (#607)
This ensures that fallbacks for unsupported atomic operations are available for POWER systems. Signed-off-by: Neal Gompa <neal@gompa.dev>
This commit is contained in:
parent
09b5825b26
commit
71dd85dc5a
@ -150,6 +150,11 @@ DEBUG=-g -ggdb
|
|||||||
# Linux ARM32 needs -latomic at linking time
|
# Linux ARM32 needs -latomic at linking time
|
||||||
ifneq (,$(findstring armv,$(uname_M)))
|
ifneq (,$(findstring armv,$(uname_M)))
|
||||||
FINAL_LIBS+=-latomic
|
FINAL_LIBS+=-latomic
|
||||||
|
else
|
||||||
|
# Linux POWER needs -latomic at linking time
|
||||||
|
ifneq (,$(findstring ppc,$(uname_M)))
|
||||||
|
FINAL_LIBS+=-latomic
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(uname_S),SunOS)
|
ifeq ($(uname_S),SunOS)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user