summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2026-09-28 21:01:47 +0200
committerChristoph Berg <myon@debian.org>2026-09-28 21:01:47 +0200
commit905d8e60eef60eb19e00d4bd522b13c767d3de2b (patch)
tree78d04f4341d7c976d07bc82d0cbd0842ac3246f1 /debian/rules
parente40987d01bb109cd009e3bbb54e9c358225997d6 (diff)
Ignore warning from inside boost on armhf.
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules8
1 files changed, 8 insertions, 0 deletions
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