]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
busybox: Pass linker flags via HOSTCC
authorKhem Raj <raj.khem@gmail.com>
Wed, 29 Oct 2025 19:17:36 +0000 (12:17 -0700)
committerKhem Raj <raj.khem@gmail.com>
Fri, 31 Oct 2025 18:54:28 +0000 (11:54 -0700)
commit204596606b7aefc3b7bbe8384cd02e82e054e67d
tree454c3b1cac6d63df09917ff7d4614996acd55085
parent7cec96d860268630aec0c666e93c0ac690078f5b
busybox: Pass linker flags via HOSTCC

HOSTCC is used for linking as well but does not use any flags that
we can manipulate to add only during link step, we do depend on
what runtime to link to when using clang for host compiler which is
controlled via BUILD_LDFLAGS, therefore add that option to hostcc

This helps building busybox with TOOLCHAIN_NATIVE is set to clang

Signed-off-by: Khem Raj <raj.khem@gmail.com>
meta/recipes-core/busybox/busybox.inc