Control: tags -1 + patch On Tue, Sep 23, 2014 at 01:30:34PM +0200, Christian Kastner wrote: > I'll prepare a fix using := again.
I confirm that libcap2 successfully cross builds with the attached patch. Helmut
diff -Nru libcap2-2.24/debian/changelog libcap2-2.24/debian/changelog --- libcap2-2.24/debian/changelog 2014-09-19 14:02:04.000000000 +0200 +++ libcap2-2.24/debian/changelog 2014-09-23 12:08:17.000000000 +0200 @@ -1,3 +1,10 @@ +libcap2 (1:2.24-5.1) UNRELEASED; urgency=low + + * Non-maintainer upload. + * Use a cross compiler for cross building. Closes: #-1 + + -- Helmut Grohne <hel...@subdivi.de> Tue, 23 Sep 2014 12:08:06 +0200 + libcap2 (1:2.24-5) unstable; urgency=medium * debian/libcap2-bin.lintian-overrides: diff -Nru libcap2-2.24/debian/rules libcap2-2.24/debian/rules --- libcap2-2.24/debian/rules 2014-09-19 14:02:04.000000000 +0200 +++ libcap2-2.24/debian/rules 2014-09-23 12:08:04.000000000 +0200 @@ -5,7 +5,7 @@ # Support cross-compiling ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) -CC ?= $(DEB_HOST_GNU_TYPE)-gcc +CC := $(DEB_HOST_GNU_TYPE)-gcc endif # One upstream target requires the BUILD compiler instead of HOST