fixdep: Allow overriding HOSTCC and HOSTLD
authorBen Hutchings <benh@debian.org>
Sat, 13 May 2023 11:03:26 +0000 (13:03 +0200)
committerSalvatore Bonaccorso <carnil@debian.org>
Sat, 20 Dec 2025 09:15:48 +0000 (10:15 +0100)
commitdcc16b91ac0f625d05340caa02d5c8730aeff386
treec41d1131d1622f51f6e1325d5b2c1a6abf4e2eba
parentcc4f23e8aef54eeede6e422a5e1e7316539b80f9
fixdep: Allow overriding HOSTCC and HOSTLD

Forwarded: not-needed

objtool always uses HOSTCC, HOSTLD, and HOSTAR, so we need to override
these on the command line for cross-builds of linux-kbuild.  But it
also builds fixdep which still needs to be native in a cross-build.
Add support for REALHOSTCC and REALHOSTLD variables which, if set,
override HOSTCC and HOSTLD for fixdep only.

Gbp-Pq: Topic debian
Gbp-Pq: Name fixdep-allow-overriding-hostcc-and-hostld.patch
tools/build/Makefile.include