Hello Helmut, On Thu, 13 Apr 2017 22:05:02 +0200 Helmut Grohne <hel...@subdivi.de> wrote:
> > Does that mean that the snippet > > > include /usr/share/dpkg/architecture.mk > > > ifeq ($(origin CC),default) > > > export CC := $(DEB_HOST_GNU_TYPE)-gcc > > > endif > > can be removed again from debian/rules? I tried to cross compile for > > armhf without that snipped using pbuilder (following the > > instructions from https://wiki.debian.org/CrossCompiling) which > > worked: The correct compiler was called and the binaries had the > > same sha512sum thanks to reproducible builds. > > I think you perfectly answered your own question. Performing a test > build under sbuild or pbuilder and looking at which compiler is being > used is a good approach to answer it. There isn't anything more to it. > Your own analysis clearly says that exporting CC is no longer > necessary. Thanks for clarifying. I was unsure because the version the bug was filed against had already switched to debhelper 10 (so this shouldn't have been a problem in the first place). > I'm also happy that apparently cross building using pbuilder is no > longer too hard for the uninitiated. Good work, Mattia! :) I agree. This was my first time cross compiling anything, and the process was very smooth. Thanks for that! Regards Lukas
pgpgfBiVDxv_5.pgp
Description: OpenPGP digital signature