Re: s390-dasd: sbuild fails, when building on amd64 machine
Hi,
Bastian Blank <waldi@debian.org> wrote (Mon, 29 Aug 2022 10:21:39 +0200):
> On Sun, Aug 28, 2022 at 08:21:15PM +0200, Holger Wansing wrote:
> > +STRIPTOOL=/usr/bin/s390x-linux-gnu-strip
>
> This should use DEB_HOST_GNU_TYPE at least. And not absolue path.
So this would be ok? (Not a programmer here)
diff --git a/Makefile b/Makefile
index 3120fd5..7e1017c 100644
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,7 @@ CFLAGS += -g
STRIP = /bin/true
else
CFLAGS += -fomit-frame-pointer
-STRIPTOOL=strip
+STRIPTOOL=$(DEB_HOST_GNU_TYPE)-strip
STRIP = $(STRIPTOOL) --remove-section=.note --remove-section=.comment
endif
The package builds fine with this, at least...
Holger
--
Holger Wansing <hwansing@mailbox.org>
PGP-Fingerprint: 496A C6E8 1442 4B34 8508 3529 59F1 87CA 156E B076
Reply to: