summaryrefslogtreecommitdiffstats
path: root/conf/nonclangable.conf
diff options
context:
space:
mode:
authorJose Quaresma <jose.quaresma@foundries.io>2023-08-10 13:04:28 +0000
committerKhem Raj <raj.khem@gmail.com>2023-08-12 11:38:36 -0700
commit83c94b8690f0a2922d28d0db9907c722382263c2 (patch)
treefc0d6a6be076840e483d9c30c8b7793a5174fbdb /conf/nonclangable.conf
parentf20deabf88b05e8dbd26f8407ca7bbb482ce7997 (diff)
downloadmeta-clang-83c94b8690f0a2922d28d0db9907c722382263c2.tar.gz
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 <jose.quaresma@foundries.io>
Diffstat (limited to 'conf/nonclangable.conf')
-rw-r--r--conf/nonclangable.conf5
1 files changed, 5 insertions, 0 deletions
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"
269CFLAGS:append:pn-ffmpeg:riscv64 = " -march=rv64gczbb" 269CFLAGS:append:pn-ffmpeg:riscv64 = " -march=rv64gczbb"
270CFLAGS:append:pn-ffmpeg:riscv32 = " -march=rv32gczbb" 270CFLAGS:append:pn-ffmpeg:riscv32 = " -march=rv32gczbb"
271 271
272# otherwise systemd efi fails to build
273# error: the 'sse' unit is not supported with this instruction set
274TUNE_CCARGS:remove:pn-systemd:toolchain-clang = "-mfpmath=sse"
275TUNE_CCARGS:remove:pn-systemd-boot:toolchain-clang = "-mfpmath=sse"
276
272TUNE_CCARGS:remove:pn-omxplayer:toolchain-clang = "-no-integrated-as" 277TUNE_CCARGS:remove:pn-omxplayer:toolchain-clang = "-no-integrated-as"
273TUNE_CCARGS:remove:pn-nfs-utils:toolchain-clang = "-Qunused-arguments" 278TUNE_CCARGS:remove:pn-nfs-utils:toolchain-clang = "-Qunused-arguments"
274 279