]> Zhao Yanbai Git Server - minix.git/commitdiff
kernel: compile with -mi386 under gcc/clang to not generate SSE code in-kernel.
authorBen Gras <ben@minix3.org>
Mon, 12 Jul 2010 10:11:50 +0000 (10:11 +0000)
committerBen Gras <ben@minix3.org>
Mon, 12 Jul 2010 10:11:50 +0000 (10:11 +0000)
kernel/Makefile

index db21920cd0b20f47367269eebc30f7b800020a86..bea51f22c2ea2033c0d73fbcd88d7016104dfd7c 100644 (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