Bug#914628: darkstat FTCBFS: uses the host architecture compiler for
build tool c-ify
darkstat fails to cross build from source. The package is quite prepared
for cross building and even has a separate make variable for using a
different compiler for c-ify. It just happens that the variable "HOSTCC"
is wrongly initialized. The attached patch fixes that and makes darkstat
cross buildable.
+darkstat (3.0.719-2) UNRELEASED; urgency=medium
+
+ * Fix FTCBFS: Supply HOSTCC to make. (Closes: #914628)
+
+ -- Emil Mikulic <emikulic@gmail.com> Sun, 25 Nov 2018 20:38:41 +0100
+
darkstat (3.0.719-1) unstable; urgency=low
* New upstream release
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
+-include /usr/share/dpkg/buildtools.mk
+CC_FOR_BUILD ?= cc
configure: configure-stamp
configure-stamp:
build-stamp: configure-stamp
dh_testdir
- $(MAKE)
+ $(MAKE) HOSTCC=$(CC_FOR_BUILD)
touch $@
clean: