From: Khem Raj Date: Fri, 23 May 2025 03:52:46 +0000 (-0700) Subject: systemd-boot: Pin to use gcc toolchain on arm X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=553f769c961ca567a68ac98a5262d84a95eca596;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git systemd-boot: Pin to use gcc toolchain on arm clang does not support -mgeneral-regs-only option for arm Cc: Ross Burton Signed-off-by: Khem Raj Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-core/systemd/systemd-boot_257.5.bb b/meta/recipes-core/systemd/systemd-boot_257.5.bb index 151e4a95373..c6c443f929f 100644 --- a/meta/recipes-core/systemd/systemd-boot_257.5.bb +++ b/meta/recipes-core/systemd/systemd-boot_257.5.bb @@ -54,6 +54,9 @@ TUNE_CCARGS:remove = "-mfpmath=sse" CFLAGS:append:libc-musl = " -D__DEFINED_wchar_t" +# arm-poky-linux-musleabi-clang: error: unsupported option '-mgeneral-regs-only' for target 'arm-poky-linux-musleabi' +TOOLCHAIN:arm = "gcc" + COMPATIBLE_HOST = "(aarch64.*|arm.*|x86_64.*|i.86.*|riscv.*)-linux" COMPATIBLE_HOST:x86-x32 = "null"