Source: lpc21isp
Version: 1.97-4
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

lpc21isp fails to cross build from source, because debian/rules uses the
build architecture compiler as a make default for $(CC). The easiest way
of fixing that - include /usr/share/dpkg/buildtools.mk - makes lpc21isp
cross buildable. Please consider applying the attached patch.

Helmut
diff --minimal -Nru lpc21isp-1.97/debian/changelog 
lpc21isp-1.97/debian/changelog
--- lpc21isp-1.97/debian/changelog      2018-08-19 10:36:35.000000000 +0200
+++ lpc21isp-1.97/debian/changelog      2019-12-06 16:30:49.000000000 +0100
@@ -1,3 +1,10 @@
+lpc21isp (1.97-4.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dpkg's buildtools.mk supply $(CC). (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Fri, 06 Dec 2019 16:30:49 +0100
+
 lpc21isp (1.97-4) unstable; urgency=medium
 
   * [d/rules] Remove get-orig-target target
diff --minimal -Nru lpc21isp-1.97/debian/rules lpc21isp-1.97/debian/rules
--- lpc21isp-1.97/debian/rules  2018-08-19 10:36:35.000000000 +0200
+++ lpc21isp-1.97/debian/rules  2019-12-06 16:29:19.000000000 +0100
@@ -4,6 +4,7 @@
 # Uncomment this to turn on verbose mode.
 # export DH_VERBOSE=1
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+include /usr/share/dpkg/buildtools.mk
 DPKG_EXPORT_BUILDFLAGS = 1
 include /usr/share/dpkg/buildflags.mk
 

Reply via email to