]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
grub,grub-efi: Remove -mfpmath=sse on x86
authorKhem Raj <raj.khem@gmail.com>
Sat, 1 Jun 2024 20:03:44 +0000 (13:03 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 10 Jun 2024 14:59:24 +0000 (15:59 +0100)
commitad76da4ff6d7110747b620621ae3728de9905465
tree9f69efc6b8a4b262f46325cb6a5297f6d58e7fb0
parente5e5561c178a565b3aa7cb540fe1c8f71917c882
grub,grub-efi: Remove -mfpmath=sse on x86

This option fails with clang compiler when testing for soft-float because
OE enforces this option via CCARGS however, gtub's
makefile/configure does disable all sse options when checking for
soft-float support, but it can not disable -mfpmath=sse as its inserted
by OE, therefore remove it in recipe

Fixes build errors seen with clang/musl like on x86
error: the 'sse' unit is not supported with this instruction set

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-bsp/grub/grub2.inc