Source: cgminer Version: 4.9.2-1 Tags: patch User: helm...@debian.org Usertags: rebootstrap
cgminer fails to cross build from source, because debian/rules runs the build architecture compiler as a make default. Including dpkg's new buildtools.mk fixes this as it takes care to place a cross compiler into $(CC). Please consider applying the attached patch. Helmut
diff --minimal -Nru cgminer-4.9.2/debian/changelog cgminer-4.9.2/debian/changelog --- cgminer-4.9.2/debian/changelog 2015-06-25 17:26:18.000000000 +0200 +++ cgminer-4.9.2/debian/changelog 2018-02-14 13:09:23.000000000 +0100 @@ -1,3 +1,10 @@ +cgminer (4.9.2-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Use dpkg's buildtooks.mk. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Wed, 14 Feb 2018 13:09:23 +0100 + cgminer (4.9.2-1) unstable; urgency=medium * New release diff --minimal -Nru cgminer-4.9.2/debian/rules cgminer-4.9.2/debian/rules --- cgminer-4.9.2/debian/rules 2015-06-25 17:19:30.000000000 +0200 +++ cgminer-4.9.2/debian/rules 2018-02-14 13:09:21.000000000 +0100 @@ -4,6 +4,8 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 +-include /usr/share/dpkg/buildtools.mk + export DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie #Below list is taken from README DRIVERS= --enable-avalon\