Skip to contentSkip to conversation

bitbake.conf: Filter in ld-is-lld to nativesdk recipes

PATCH New Khem Raj 1 participant 1 message Sep 23, 2025

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 bitbake.conf: Filter in ld-is-lld to nativesdk recipes

when DISTRO_FEATURES have ld-is-lld, the intent is to use it as default not only for target builds but also for SDKs which is generated. Therefore this feature should be applied to nativesdk sub-system when it is specified as distro policy

---
 meta/conf/bitbake.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/conf/bitbake.conf +1 -1
index eebefc48406..e0f9d59cecd 100644
@@ -916,7 +916,7 @@ DISTRO_FEATURES_NATIVESDK:mingw32 = "x11 ipv6"
 # Normally target distro features will not be applied to native builds:
 # Native distro features on this list will use the target feature value
 DISTRO_FEATURES_FILTER_NATIVE ?= "api-documentation debuginfod opencl opengl wayland"
-DISTRO_FEATURES_FILTER_NATIVESDK ?= "api-documentation debuginfod opencl opengl wayland"
+DISTRO_FEATURES_FILTER_NATIVESDK ?= "api-documentation debuginfod ld-is-lld opencl opengl wayland"
 
 DISTRO_FEATURES_BACKFILL = "pulseaudio sysvinit gobject-introspection-data ldconfig"
 MACHINE_FEATURES_BACKFILL = "rtc qemu-usermode"