Since 16f8ec282d44fa2e0d21e94e0d85a433a9a1a827 Fail build on warnings in efi sources the bootloader build fails when toolchain enbles SSE via -mfpmath=sse" with
cc1: error: SSE instruction set disabled, using 387 arithmetics [-Werror] I want to have all optimizations enabled for non-bootloader part so explicitly disable sse via additional compiler flag. Signed-off-by: Peter Marko <[email protected]> --- Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.am b/Makefile.am index 92bd916..61d4481 100644 --- a/Makefile.am +++ b/Makefile.am @@ -221,6 +221,7 @@ efi_cflags = \ if ARCH_X86_64 efi_cflags += \ -mno-sse \ + -mfpmath=387 \ -mno-mmx \ -mno-red-zone endif -- 2.30.2 -- You received this message because you are subscribed to the Google Groups "EFI Boot Guard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/efibootguard-dev/20230825195534.55891-1-peter.marko%40siemens.com.
