From 905d8e60eef60eb19e00d4bd522b13c767d3de2b Mon Sep 17 00:00:00 2001 From: Christoph Berg Date: Mon, 28 Sep 2026 21:01:47 +0200 Subject: Ignore warning from inside boost on armhf. --- debian/rules | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index e0ccefab..2c19e289 100755 --- a/debian/rules +++ b/debian/rules @@ -7,6 +7,14 @@ export WSJT_SKIP_MANPAGES=1 # Debian Hardening export DEB_BUILD_MAINT_OPTIONS=hardening=+all +# GCC 16 (trixie) reports a -Wmaybe-uninitialized false positive in system +# Boost headers on armhf; demote that warning on armhf only. Must be set +# before buildflags.mk is included. +include /usr/share/dpkg/architecture.mk +ifeq ($(DEB_HOST_ARCH),armhf) +DEB_CXXFLAGS_MAINT_APPEND = -Wno-error=maybe-uninitialized +endif + DPKG_EXPORT_BUILDFLAGS := true include /usr/share/dpkg/buildflags.mk -- cgit v1.2.3