Skip to content

Commit

Permalink
Fix 32-bit atomic linking on powerpc
Browse files Browse the repository at this point in the history
Fix valkey-io#434

Signed-off-by: Ping Xie <pingxie@google.com>
  • Loading branch information
PingXie committed Jun 18, 2024
1 parent cf41adc commit 1a064ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ ifneq (,$(findstring armv,$(uname_M)))
FINAL_LIBS+=-latomic
else
# Linux POWER needs -latomic at linking time
ifneq (,$(findstring ppc,$(uname_M)))
ifneq (,$(findstring Power*Macintosh,$(uname_M)))
FINAL_LIBS+=-latomic
endif
endif
Expand Down

0 comments on commit 1a064ef

Please sign in to comment.