From 1a064efa6ae40db6ceebea283a215c16b3e2d470 Mon Sep 17 00:00:00 2001 From: Ping Xie Date: Mon, 17 Jun 2024 21:33:23 -0700 Subject: [PATCH] Fix 32-bit atomic linking on powerpc Fix #434 Signed-off-by: Ping Xie --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index 302ad06b84..f8701ed958 100644 --- a/src/Makefile +++ b/src/Makefile @@ -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