Module Name: src Committed By: christos Date: Sun Apr 17 15:03:37 UTC 2011
Modified Files: src/share/mk: bsd.own.mk Log Message: Revert previous, breaks builds completely (cd /usr/src/bin/test && make clean && make) To generate a diff of this commit: cvs rdiff -u -r1.660 -r1.661 src/share/mk/bsd.own.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/share/mk/bsd.own.mk diff -u src/share/mk/bsd.own.mk:1.660 src/share/mk/bsd.own.mk:1.661 --- src/share/mk/bsd.own.mk:1.660 Sun Apr 17 08:54:22 2011 +++ src/share/mk/bsd.own.mk Sun Apr 17 11:03:37 2011 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.own.mk,v 1.660 2011/04/17 12:54:22 tron Exp $ +# $NetBSD: bsd.own.mk,v 1.661 2011/04/17 15:03:37 christos Exp $ # This needs to be before bsd.init.mk .if defined(BSD_MK_COMPAT_FILE) @@ -210,6 +210,9 @@ .if !defined(HOSTPROG) && !defined(HOSTLIB) && defined(DESTDIR) CPPFLAGS+= --sysroot=${DESTDIR} LDFLAGS+= --sysroot=${DESTDIR} +.else +CPPFLAGS+= --sysroot=/ +LDFLAGS+= --sysroot=/ .endif .endif # EXTERNAL_TOOLCHAIN # }