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>
Tue, 6 May 2025 19:33:52 +0000 (21:33 +0200)
commit1fc0b7413d88bb1db34c26a0ff16594b515ee671
tree3e8228635bee507e2f72e7fd666f98591ec25113
parent9e13dfbe2b2830bd826522969997594b105453ed
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