[debhelper-devel] Bug#843910: cups-pdf FTCBFS: uses build architecture compiler

Helmut Grohne helmut at subdivi.de
Wed Nov 16 15:24:39 UTC 2016


On Wed, Nov 16, 2016 at 04:58:52PM +0200, Martin-Éric Racine wrote:
> Fair enough.  I'm wondering if the enclosed patch would accomplish the
> same thing.  I mean, the goal always is to set CC for the target host,
> right?

>From a cross builder's perspective, yes. From a clang user's
perspective, no. The reason of using if "ifeq ($(origin CC),default)"
check is to allow substituting gcc for e.g. clang while still getting
the default right.

TL;DR: Your patch fixes the reported bug.

Helmut



More information about the debhelper-devel mailing list