Source: avr-evtd Version: 1.7.7-2 Tags: patch User: [email protected] Usertags: rebootstrap
avr-evtd fails to cross build from source, because debian/rules uses the build architecture compiler as a make default. Letting dpkg's buildtools.mk initialize $(CC) fixes that. Please consider applying the attached patch. Helmut
diff --minimal -Nru avr-evtd-1.7.7/debian/changelog avr-evtd-1.7.7/debian/changelog --- avr-evtd-1.7.7/debian/changelog 2010-05-21 07:10:41.000000000 +0200 +++ avr-evtd-1.7.7/debian/changelog 2019-05-12 14:36:49.000000000 +0200 @@ -1,3 +1,10 @@ +avr-evtd (1.7.7-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Let dpkg's buildtools.mk supply $(CC). (Closes: #-1) + + -- Helmut Grohne <[email protected]> Sun, 12 May 2019 14:36:49 +0200 + avr-evtd (1.7.7-2) unstable; urgency=low * Restrict build architectures to linux-any diff --minimal -Nru avr-evtd-1.7.7/debian/rules avr-evtd-1.7.7/debian/rules --- avr-evtd-1.7.7/debian/rules 2010-05-21 05:24:29.000000000 +0200 +++ avr-evtd-1.7.7/debian/rules 2019-05-12 14:36:47.000000000 +0200 @@ -1,6 +1,7 @@ #!/usr/bin/make -f # -*- makefile -*- +-include /usr/share/dpkg/buildtools.mk TARGETDIR=$(CURDIR)/debian/avr-evtd CFLAGS = -Wall -Wextra -g

