Add -mno-sse.

This commit is contained in:
Alexander Myltsev 2024-02-03 14:59:25 +04:00
parent 13fdddc36d
commit f6199e50ae

View File

@ -10,6 +10,7 @@ OBJCOPY=x86_64-elf-objcopy
endif endif
CFLAGS = -fno-pic -ffreestanding -static -fno-builtin -fno-strict-aliasing \ CFLAGS = -fno-pic -ffreestanding -static -fno-builtin -fno-strict-aliasing \
-mno-sse \
-Wall -ggdb -m32 -Werror -fno-omit-frame-pointer -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) CFLAGS += $(shell $(CC) -fno-stack-protector -E -x c /dev/null >/dev/null 2>&1 && echo -fno-stack-protector)
ASMFLAGS = -m32 -ffreestanding -c -g ASMFLAGS = -m32 -ffreestanding -c -g