Fix for objdir feature of BSD make

contributed by Antoine Leca.
This commit is contained in:
Ben Gras 2010-11-24 13:44:42 +00:00
parent 9ed280d1ec
commit d87559f9b9

View file

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