Package: src:libcap2 Version: 1:2.24-5 Severity: important User: helm...@debian.org Usertags: rebootstrap
Dear libcap2 maintainer, Your -5 upload broke cross building, while -4 worked just fine. libcap2 now compiles everything with "cc" rather than a triplet-prefixed compiler. Can you revert or fix the relevant changes? Looking at the debdiff I suspect the following hunk as offending: | -ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) | -CC := gcc | -else | -CC := $(DEB_HOST_GNU_TYPE)-gcc | +# Support cross-compiling | +ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) | +CC ?= $(DEB_HOST_GNU_TYPE)-gcc | endif Observe that the CC variable is special in make. It has a default value, so assinging to CC with ?= is always a noop. While not setting CC in the non-cross case is an improvement for building with clang, in a cross setting it needs to be set with := for now. Helmut -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org