On Tue, Sep 09, 2025 at 04:17:55AM +0000, Jiaxun Yang wrote:
> In context of cross compiling, $(CC) refers to compiler to generate
> target binary, we can't assume $(CC) is capable to generate host binary.

>  # Common command definitions
> -export HOSTCC             := $(CC)

HOSTCC is set ...

>  CC=$(CROSS_PREFIX)gcc

... before the prefix is added to CC.

So, at this point, when using "make CROSS_PREFIX=x86_64-unknown-linux-",
HOSTCC has no cross prefix.

So not sure what exactly you are trying to fix with this?

take care,
  Gerd

_______________________________________________
SeaBIOS mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to