Source: micro-httpd Version: 20051212-15.1 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs
micro-httpd 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 is letting dpkg's buildtools.mk initialize it. Please consider applying the attached patch. Helmut
diff --minimal -Nru micro-httpd-20051212/debian/changelog micro-httpd-20051212/debian/changelog --- micro-httpd-20051212/debian/changelog 2016-07-02 18:14:04.000000000 +0200 +++ micro-httpd-20051212/debian/changelog 2019-09-19 06:05:43.000000000 +0200 @@ -1,3 +1,10 @@ +micro-httpd (20051212-15.2) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCFBS: Seed CC from dpkg's buildtools.mk. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Thu, 19 Sep 2019 06:05:43 +0200 + micro-httpd (20051212-15.1) unstable; urgency=medium * Non-maintainer upload. diff --minimal -Nru micro-httpd-20051212/debian/rules micro-httpd-20051212/debian/rules --- micro-httpd-20051212/debian/rules 2016-07-02 18:14:04.000000000 +0200 +++ micro-httpd-20051212/debian/rules 2019-09-19 06:04:09.000000000 +0200 @@ -4,6 +4,7 @@ BIN = micro_httpd include debian/debian-vars.mk +-include /usr/share/dpkg/buildtools.mk export DEB_BUILD_MAINT_OPTIONS = hardening=+all export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic