From ab22373c675d4efe3562466958f9c5afffd84467 Mon Sep 17 00:00:00 2001 From: Reinhard Tartler Date: Fri, 13 Nov 2020 21:32:48 -0500 Subject: [PATCH] Fix FTCBFS: Pass --cross-prefix to ./configure Closes: #945200 --- debian/rules | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/debian/rules b/debian/rules index 58e060b..b7272dc 100755 --- a/debian/rules +++ b/debian/rules @@ -8,6 +8,10 @@ ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS))) DEB_CONFIGURE_EXTRA_FLAGS = --disable-opt endif +ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH)) +DEB_EXTRA_CONFIGURE_FLAGS += --cross-prefix=${DEB_HOST_GNU_TYPE}- +endif + %: dh $@ -- 2.30.2