Bug#1108203: maildir-utils: Please link against libatomic on m68k, powerpc and sh4
Source: maildir-utils
Version: 1.12.9-1
Severity: normal
Tags: patch
User: debian-powerpc@lists.debian.org
Usertags: powerpc
X-Debbugs-Cc: debian-powerpc@lists.debian.org
Hi,
please add m68k, powerpc and sh4 to the list of architectures which need to link
against libatomic in [1].
I suggest the following change:
--- debian/rules.orig 2025-03-10 23:07:50.000000000 +0100
+++ debian/rules 2025-06-23 08:02:15.046285114 +0200
@@ -12,7 +12,7 @@
#
# Cf. #1068030.
#
-ifeq (armel,$(DEB_HOST_ARCH))
+ifneq (,$(filter armel m68k powerpc sh4, $(DEB_HOST_ARCH)))
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--no-as-needed -latomic -Wl,--as-needed
endif
Thanks,
Adrian
> [1] https://salsa.debian.org/emacsen-team/maildir-utils/-/blob/debian/master/debian/rules?ref_type=heads#L15
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
--- debian/rules.orig 2025-03-10 23:07:50.000000000 +0100
+++ debian/rules 2025-06-23 08:02:15.046285114 +0200
@@ -12,7 +12,7 @@
#
# Cf. #1068030.
#
-ifeq (armel,$(DEB_HOST_ARCH))
+ifneq (,$(filter armel m68k powerpc sh4, $(DEB_HOST_ARCH)))
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--no-as-needed -latomic -Wl,--as-needed
endif
Reply to: