From: Reinhard Tartler Date: Sat, 14 Nov 2020 02:32:48 +0000 (-0500) Subject: Fix FTCBFS: Pass --cross-prefix to ./configure X-Git-Tag: archive/raspbian/1.0.1+dfsg1-4+rpi1~1^2~34 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ab22373c675d4efe3562466958f9c5afffd84467;p=gpac.git Fix FTCBFS: Pass --cross-prefix to ./configure Closes: #945200 --- 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 $@