diff options
author | Jose Quaresma <jose.quaresma@foundries.io> | 2023-08-10 13:04:28 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-08-12 11:38:36 -0700 |
commit | 83c94b8690f0a2922d28d0db9907c722382263c2 (patch) | |
tree | fc0d6a6be076840e483d9c30c8b7793a5174fbdb /conf/nonclangable.conf | |
parent | f20deabf88b05e8dbd26f8407ca7bbb482ce7997 (diff) | |
download | meta-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.conf | 5 |
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" | |||
269 | CFLAGS:append:pn-ffmpeg:riscv64 = " -march=rv64gczbb" | 269 | CFLAGS:append:pn-ffmpeg:riscv64 = " -march=rv64gczbb" |
270 | CFLAGS:append:pn-ffmpeg:riscv32 = " -march=rv32gczbb" | 270 | CFLAGS: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 | ||
274 | TUNE_CCARGS:remove:pn-systemd:toolchain-clang = "-mfpmath=sse" | ||
275 | TUNE_CCARGS:remove:pn-systemd-boot:toolchain-clang = "-mfpmath=sse" | ||
276 | |||
272 | TUNE_CCARGS:remove:pn-omxplayer:toolchain-clang = "-no-integrated-as" | 277 | TUNE_CCARGS:remove:pn-omxplayer:toolchain-clang = "-no-integrated-as" |
273 | TUNE_CCARGS:remove:pn-nfs-utils:toolchain-clang = "-Qunused-arguments" | 278 | TUNE_CCARGS:remove:pn-nfs-utils:toolchain-clang = "-Qunused-arguments" |
274 | 279 | ||