diff --git a/kernel/Makefile b/kernel/Makefile index bbe8061c68..1f8d43dae8 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -13,7 +13,7 @@ EXEC_PREFIX?=$(PREFIX) BOOTDIR?=$(EXEC_PREFIX)/boot INCLUDEDIR?=$(PREFIX)/include -CFLAGS:=$(CFLAGS) -D__is_kernel -Iinclude -fstack-protector -ffreestanding -Wall -Wextra -Werror=return-type -fno-omit-frame-pointer +CFLAGS:=$(CFLAGS) -D__is_kernel -Iinclude -fstack-protector -ffreestanding -Wall -Wextra -Werror=return-type -fno-omit-frame-pointer -mno-sse -mno-sse2 CPPFLAGS:=$(CPPFLAGS) -fno-rtti -fno-exceptions LDFLAGS:=$(LDFLAGS) LIBS:=$(LIBS) -nostdlib -lk -lbank -lgcc