From: Ben Gras Date: Wed, 24 Nov 2010 13:44:42 +0000 (+0000) Subject: Fix for objdir feature of BSD make X-Git-Tag: v3.2.0~732 X-Git-Url: http://zhaoyanbai.com/repos/man.dnssec-coverage.html?a=commitdiff_plain;h=d87559f9b9c54497828547d5b462276373332dc0;p=minix.git Fix for objdir feature of BSD make contributed by Antoine Leca. --- diff --git a/kernel/Makefile b/kernel/Makefile index 153a0b4f3..b4dd00d9f 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -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}