summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
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