From 4ebd73cbe25e2dd341e538ffe67bf1412188226a Mon Sep 17 00:00:00 2001 From: Rik Mills Date: Thu, 7 Aug 2025 18:53:09 +0100 Subject: [PATCH] d/rules: Silence GCS linker warning on arm64 to prevent FTBFS with GCC 15. --- debian/changelog | 7 +++++++ debian/rules | 6 ++++++ 2 files changed, 13 insertions(+) diff --git a/debian/changelog b/debian/changelog index 408f026..e424089 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +calamares (3.3.14-0ubuntu10) questing; urgency=medium + + * d/rules: Silence GCS linker warning on arm64 to prevent FTBFS with + GCC 15. + + -- Rik Mills Thu, 07 Aug 2025 18:41:41 +0100 + calamares (3.3.14-0ubuntu9) questing; urgency=medium * No-change rebuild for GCC 15. diff --git a/debian/rules b/debian/rules index 765ee96..878993e 100755 --- a/debian/rules +++ b/debian/rules @@ -2,6 +2,12 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all,buildinfo=+path +include /usr/share/dpkg/architecture.mk + +ifeq ($(DEB_HOST_ARCH),arm64) +export DEB_LDFLAGS_MAINT_APPEND=-Wl,-z,gcs-report-dynamic=none +endif + %: dh $@