summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2025-05-20 23:19:46 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-05-27 09:01:16 +0100
commit78a8cee422a81bb7a867b96e605d15e6a338ad7c (patch)
tree39a4abb7f6400168691b3aaea57120cb10f21bde /meta
parentb20585724f17c1ec261d3ce2f2dd986d636c895f (diff)
downloadpoky-78a8cee422a81bb7a867b96e605d15e6a338ad7c.tar.gz
systemd-boot: Remove -mfpmath=sse option from cflags
EFI sources in systemd uses -mgeneral-regs-only which conflicts with -mfpmath=sse specified by OE via tune arguments. It needs to be removed, clang errors about it and fails the build Fixes error: the 'sse' unit is not supported with this instruction set (From OE-Core rev: a7cbb7b90a9eb9f8a98054f8613a8230472cf4a5) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-core/systemd/systemd-boot_257.5.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd-boot_257.5.bb b/meta/recipes-core/systemd/systemd-boot_257.5.bb
index 6a50ac05aa..151e4a9537 100644
--- a/meta/recipes-core/systemd/systemd-boot_257.5.bb
+++ b/meta/recipes-core/systemd/systemd-boot_257.5.bb
@@ -47,6 +47,11 @@ FILES:${PN} = "${EFI_FILES_PATH}/${SYSTEMD_BOOT_IMAGE}"
47 47
48RDEPENDS:${PN} += "virtual-systemd-bootconf" 48RDEPENDS:${PN} += "virtual-systemd-bootconf"
49 49
50# efi portions use -mgeneral-regs-only option which conflicts with SSE
51# especially clang throws errors about it
52# error: the 'sse' unit is not supported with this instruction set
53TUNE_CCARGS:remove = "-mfpmath=sse"
54
50CFLAGS:append:libc-musl = " -D__DEFINED_wchar_t" 55CFLAGS:append:libc-musl = " -D__DEFINED_wchar_t"
51 56
52COMPATIBLE_HOST = "(aarch64.*|arm.*|x86_64.*|i.86.*|riscv.*)-linux" 57COMPATIBLE_HOST = "(aarch64.*|arm.*|x86_64.*|i.86.*|riscv.*)-linux"