From f6199e50ae34a7b03f4392b2d05b3692849752a5 Mon Sep 17 00:00:00 2001 From: Alexander Myltsev Date: Sat, 3 Feb 2024 14:59:25 +0400 Subject: [PATCH] Add -mno-sse. --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 0563102..b4ec599 100644 --- a/Makefile +++ b/Makefile @@ -10,6 +10,7 @@ OBJCOPY=x86_64-elf-objcopy endif CFLAGS = -fno-pic -ffreestanding -static -fno-builtin -fno-strict-aliasing \ + -mno-sse \ -Wall -ggdb -m32 -Werror -fno-omit-frame-pointer CFLAGS += $(shell $(CC) -fno-stack-protector -E -x c /dev/null >/dev/null 2>&1 && echo -fno-stack-protector) ASMFLAGS = -m32 -ffreestanding -c -g