Commit 9064e130 authored by Ben Hutchings's avatar Ben Hutchings
Browse files

linux-kbuild: Fix cross-build regression in objtool in 6.3

Upstream commit cd955bdd6aa5 "objtool: Fix HOSTCC flag usage" changed
objtool to use the HOST* variables consistently.  We therefore need to
override those variables when cross-building linux-kbuild.

However, the objtool build also builds and runs fixdep, so that still
needs to be native.  Add and use REALHOSTCC and REALHOSTLD variables
that override HOSTCC and HOSTLD for fixdep only.
parent 9dfe6d33
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment