From 575f5252aa8207564a78aeefa19db1511120ef00 Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Mon, 17 Aug 2026 17:46:36 +0100 Subject: [PATCH] Revert "Makefile: -aarm64 to dpkg-buildpackage for arm64 cross-builds" This reverts commit 05016eb6e88298ec4a257e5d95c83ad2d2d3a5d9. --- Makefile | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/Makefile b/Makefile index 194067b..963b440 100644 --- a/Makefile +++ b/Makefile @@ -42,19 +42,8 @@ deb: # pattern would otherwise be re-used by dpkg-deb if the # previous run left it lying around). rm -f ../postit_*$(POSTIT_GIT_TAG)-1*.deb ../postit_*.buildinfo ../postit_*.changes - # dpkg-buildpackage doesn't know about dotnet's --runtime. - # It uses the host arch by default, so cross-compiled builds - # end up named '_amd64.deb' regardless of POSTIT_RUNTIME. - # -aarm64 forces the .deb to be tagged and named as arm64. - # Override DEB_BUILD_GNU_TYPE so dpkg doesn't try to use - # arm64 tools on an amd64 host. - case "$(POSTIT_RUNTIME)" in - linux-arm64) DPKG_ARCH=arm64 ;; - linux-x64) DPKG_ARCH=amd64 ;; - *) echo " ERROR: unsupported POSTIT_RUNTIME=$(POSTIT_RUNTIME)" >&2; exit 1 ;; - esac POSTIT_GIT_URL=$(POSTIT_GIT_URL) POSTIT_GIT_TAG=$(POSTIT_GIT_TAG) POSTIT_RUNTIME=$(POSTIT_RUNTIME) \ - dpkg-buildpackage -us -uc -b -a$$DPKG_ARCH + dpkg-buildpackage -us -uc -b # dpkg-buildpackage already writes the produced .deb to # /src/_src/../ = $POSTIT_OUT_DIR (its default — there's no # flag to change it). So no 'mv' is needed. The old 'mv'