[PATCH] kbuild: add KBUILD_HOSTLDFLAGS to cmd_host-csingle

Simon Glass sjg at chromium.org
Thu Aug 25 03:25:29 CEST 2022


On Wed, 24 Aug 2022 at 01:37, Heiko Thiery <heiko.thiery at gmail.com> wrote:
>
> When compiling executables from a single.c file, the linker is also
> invoked. Pass the flags like the other linker commands.
>
> cherry-pick kbuild change from Linux:
>
> 63185b46cdb3 (kbuild: use HOSTLDFLAGS for single .c executables)
>
> Signed-off-by: Heiko Thiery <heiko.thiery at gmail.com>
> ---
>  scripts/Makefile.host | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list