kernel: compile with -mi386 under gcc/clang to not generate SSE code in-kernel.

This commit is contained in:
Ben Gras 2010-07-12 10:11:50 +00:00
parent 1cee6fe95e
commit 12e9303297

View File

@ -18,6 +18,7 @@ LDFLAGS+= -.o
CPPFLAGS+= -fno-builtin -ffreestanding -fno-stack-protector
LDFLAGS+= -T arch/${ARCH}/kernel.lds
LDFLAGS+= -nostdlib -L/usr/gnu/lib
CFLAGS+=-march=i386
DPADD+= ${LIBC}
LDADD+= -lc
.endif