Source: vrfy Version: 990522-10 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs
vrfy fails to cross build from source, because it uses the build architecture compiler as a GNU make default in debian/rules. Using dpkg's buildtools.mk, CC can be initialized correctly. Please consider applying the attached patch. Helmut
diff --minimal -Nru vrfy-990522/debian/changelog vrfy-990522/debian/changelog --- vrfy-990522/debian/changelog 2016-10-20 16:11:07.000000000 +0200 +++ vrfy-990522/debian/changelog 2019-08-30 19:53:10.000000000 +0200 @@ -1,3 +1,10 @@ +vrfy (990522-10.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Let dpkg's buildtools.mk supply CC. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Fri, 30 Aug 2019 19:53:10 +0200 + vrfy (990522-10) unstable; urgency=medium * debian/control diff --minimal -Nru vrfy-990522/debian/rules vrfy-990522/debian/rules --- vrfy-990522/debian/rules 2016-10-20 16:11:07.000000000 +0200 +++ vrfy-990522/debian/rules 2019-08-30 19:53:09.000000000 +0200 @@ -3,6 +3,7 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed +-include /usr/share/dpkg/buildtools.mk override_dh_auto_build: $(MAKE) CC="$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS)"