From 89a6f8a33fd06f0ed82244180d8aff350e5f15d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 17 Dec 2023 12:51:07 +0100 Subject: d/rules: Fix FTCBFS: confuses build/host compiler flags --- debian/changelog | 8 ++++++++ debian/rules | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 7ab0425..286e0d4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +sane-backends (1.2.1-7) UNRELEASED; urgency=medium + + * debian/rules: + - Fix FTCBFS: confuses build/host compiler flags (Closes: #1057649). + Thanks to Emanuele Rocca . + + -- Jörg Frings-Fürst Sun, 17 Dec 2023 12:48:37 +0100 + sane-backends (1.2.1-6) unstable; urgency=medium * libsane1: move udev files to /usr, with protective diversion diff --git a/debian/rules b/debian/rules index d4168f2..0d45f6b 100755 --- a/debian/rules +++ b/debian/rules @@ -26,7 +26,7 @@ endif override_dh_auto_configure: autoconf ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH)) - dpkg-architecture -f "-a$(DEB_BUILD_ARCH)" -c dh_auto_configure + dpkg-architecture -f "-a$(DEB_BUILD_ARCH)" -c dh_auto_configure --reload-all-buildenv-variables $(MAKE) -C $(CURDIR)/lib liblib.la $(MAKE) -C $(CURDIR)/sanei libsanei.la $(MAKE) -C $(CURDIR)/tools sane-desc -- cgit v1.2.3