Bug#966843: apngopt FTCBFS: uses the build architecture compiler
Source: apngopt
Version: 1.2-2
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs
apngopt fails to cross build from source, because it uses the build
architecture compiler as a make default in debian/rules. Please consider
including dpkg's buildtools.mk to fix that.
Helmut
diff --minimal -Nru apngopt-1.2/debian/changelog apngopt-1.2/debian/changelog
--- apngopt-1.2/debian/changelog 2016-05-26 12:28:45.000000000 +0200
+++ apngopt-1.2/debian/changelog 2020-08-03 08:31:46.000000000 +0200
@@ -1,3 +1,9 @@
+apngopt (1.2-3) UNRELEASED; urgency=medium
+
+ * Fix FTCBFS: Let dpkg's buildtools.mk initialize CC. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de> Mon, 03 Aug 2020 08:31:46 +0200
+
apngopt (1.2-2) unstable; urgency=medium
* QA upload.
diff --minimal -Nru apngopt-1.2/debian/rules apngopt-1.2/debian/rules
--- apngopt-1.2/debian/rules 2013-06-04 13:03:07.000000000 +0200
+++ apngopt-1.2/debian/rules 2020-08-03 08:31:45.000000000 +0200
@@ -2,6 +2,7 @@
PACKAGE = apngopt
BIN = $(PACKAGE)
+-include /usr/share/dpkg/buildtools.mk
CC ?= gcc
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
Reply to: