15 lines
375 B
Diff
15 lines
375 B
Diff
--- src/Makefile.orig 2021-06-21 14:49:54.085334978 +0200
|
|
+++ src/Makefile 2021-06-21 14:50:20.098711239 +0200
|
|
@@ -98,6 +98,11 @@
|
|
FINAL_LIBS+=-latomic
|
|
endif
|
|
|
|
+# Linux powerpc needs -latomic at linking time
|
|
+ifneq (,$(findstring ppc,$(uname_M)))
|
|
+ FINAL_LIBS+=-latomic
|
|
+endif
|
|
+
|
|
ifeq ($(uname_S),SunOS)
|
|
# SunOS
|
|
ifeq ($(findstring -m32,$(FINAL_CFLAGS)),)
|