Skip to content

Commit

Permalink
nonclangable.conf: fix systemd efi build
Browse files Browse the repository at this point in the history
- 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 <[email protected]>
  • Loading branch information
quaresmajose committed Aug 10, 2023
1 parent f20deab commit 46eeadd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions conf/nonclangable.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 46eeadd

Please sign in to comment.