From: Ben Gras Date: Mon, 12 Jul 2010 10:11:50 +0000 (+0000) Subject: kernel: compile with -mi386 under gcc/clang to not generate SSE code in-kernel. X-Git-Tag: v3.1.8~262 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/style.css?a=commitdiff_plain;h=12e9303297bb2dc28a15664e87d6f7c863fe9033;p=minix.git kernel: compile with -mi386 under gcc/clang to not generate SSE code in-kernel. --- diff --git a/kernel/Makefile b/kernel/Makefile index db21920cd..bea51f22c 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -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