[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#930983: libpam-encfs FTCBFS: builds for the wrong architecture



On Tue, Jun 25, 2019 at 06:18:09PM +0200, Agustin Martin wrote:
> Upstream Makefile sets CC=gcc and LD=ld (this seems to need ld). Will
> values passed by dh_auto_build override them? IIRC overriding them was the
> reason for passing those variables as arguments.

Yes. When we added cross build support to dh_auto_build for the makefile
buildsystem, we figured that many Makefiles would use "=" assignments
for CC. Therefore dh_auto_build passes CC, CXX and PKG_CONFIG as command
line variables overriding the relevant assignments. The usage of LD was
less consistent, so dh_auto_build does not pass LD. If this doesn't
fully answer your question, don't hesitate to ask.

Helmut


Reply to: