From 83c94b8690f0a2922d28d0db9907c722382263c2 Mon Sep 17 00:00:00 2001 From: Jose Quaresma Date: Thu, 10 Aug 2023 13:04:28 +0000 Subject: nonclangable.conf: fix systemd efi build - systemd-boot have it fixed on recipe but as it a clang issue it's better to move it here - systemd needs it when build with efi package config enabled since v254 Signed-off-by: Jose Quaresma --- conf/nonclangable.conf | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'conf/nonclangable.conf') diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf index 382bb09..84575d9 100644 --- a/conf/nonclangable.conf +++ b/conf/nonclangable.conf @@ -269,6 +269,11 @@ CFLAGS:remove:pn-mozjs:toolchain-clang = "-fno-tree-vrp" CFLAGS:append:pn-ffmpeg:riscv64 = " -march=rv64gczbb" CFLAGS:append:pn-ffmpeg:riscv32 = " -march=rv32gczbb" +# otherwise systemd efi fails to build +# error: the 'sse' unit is not supported with this instruction set +TUNE_CCARGS:remove:pn-systemd:toolchain-clang = "-mfpmath=sse" +TUNE_CCARGS:remove:pn-systemd-boot:toolchain-clang = "-mfpmath=sse" + TUNE_CCARGS:remove:pn-omxplayer:toolchain-clang = "-no-integrated-as" TUNE_CCARGS:remove:pn-nfs-utils:toolchain-clang = "-Qunused-arguments" -- cgit v1.2.3-54-g00ecf