From 46eeaddc1f4efabd31937898816600f369a65041 Mon Sep 17 00:00:00 2001 From: Jose Quaresma Date: Thu, 10 Aug 2023 13:04:28 +0000 Subject: [PATCH] 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(+) diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf index 382bb0947..a8636f82e 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"