Message ID | 20250121085526.1370937-6-hongxu.jia@windriver.com |
---|---|
State | New |
Headers | show |
Series | [1/9] perl: fix do_install failed for nativesdk-perl | expand |
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index ba7817b7e5..4668373756 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -922,7 +922,7 @@ IMAGE_FEATURES += "${EXTRA_IMAGE_FEATURES}" # Native distro features (will always be used for -native, even if they # are not enabled for target) DISTRO_FEATURES_NATIVE ?= "acl x11 ipv6 xattr" -DISTRO_FEATURES_NATIVESDK ?= "acl x11 ipv6 xattr" +DISTRO_FEATURES_NATIVESDK ?= "acl x11 ipv6 xattr multiarch" DISTRO_FEATURES_NATIVESDK:mingw32 = "x11 ipv6" # Normally target distro features will not be applied to native builds:
Otherwise 32bit i686 nativesdk-gcc compiled 64bit executable file failed $ cat << ENDOF > main.c int main() { return 0; } ENDOF $ i686-pokysdk-linux-gcc -m64 main.c -o main cc1: sorry, unimplemented: 64-bit mode not compiled in [ YOCTO #15722 ] Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> --- meta/conf/bitbake.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)