Source: pscan-tfbs Version: 1.2.2-2 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs
pscan-tfbs fails to cross build from source, because it uses the build architecture compiler as a make default. The easiest way of setting up compiler variables is using dpkg's buildtools.mk. Please consider appying the attached patch. Helmut
diff --minimal -Nru pscan-tfbs-1.2.2/debian/changelog pscan-tfbs-1.2.2/debian/changelog --- pscan-tfbs-1.2.2/debian/changelog 2018-06-08 14:48:00.000000000 +0200 +++ pscan-tfbs-1.2.2/debian/changelog 2019-06-09 07:48:17.000000000 +0200 @@ -1,3 +1,10 @@ +pscan-tfbs (1.2.2-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Let dpkg's buildtools.mk supply $(CXX). (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Sun, 09 Jun 2019 07:48:17 +0200 + pscan-tfbs (1.2.2-2) unstable; urgency=medium * Team upload. diff --minimal -Nru pscan-tfbs-1.2.2/debian/rules pscan-tfbs-1.2.2/debian/rules --- pscan-tfbs-1.2.2/debian/rules 2018-06-08 14:48:00.000000000 +0200 +++ pscan-tfbs-1.2.2/debian/rules 2019-06-09 07:48:16.000000000 +0200 @@ -2,6 +2,8 @@ export DH_VERBOSE=1 +-include /usr/share/dpkg/buildtools.mk + CXXFLAGS += -flto LDFLAGS += -Wl,-flto