Also compile the kernel as i586 (instead of i386)

This commit is contained in:
Erik van der Kouwe 2011-07-22 13:15:59 +02:00
parent eff1369cab
commit dcc683b4ae

View file

@ -21,7 +21,6 @@ CFLAGS += -D__kernel__
.if ${COMPILER_TYPE} == "ack"
LDFLAGS+= -.o
.elif ${COMPILER_TYPE} == "gnu"
CFLAGS+=-march=i386
CPPFLAGS+= -ffreestanding -fno-stack-protector -D_NETBSD_SOURCE
LDFLAGS+= -T ${.CURDIR}/arch/${ARCH}/kernel.lds
LDFLAGS+= -nostdlib -L${LIBDIR}