Module Name: src
Committed By: tron
Date: Sun Apr 17 12:54:23 UTC 2011
Modified Files:
src/share/mk: bsd.own.mk
Log Message:
Don't use "--sysroot=/" for host builds as "nbhost-mkdep" doesn't
understand that option. This should unbreak tool builds.
To generate a diff of this commit:
cvs rdiff -u -r1.659 -r1.660 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.659 src/share/mk/bsd.own.mk:1.660
--- src/share/mk/bsd.own.mk:1.659 Sun Apr 17 00:05:36 2011
+++ src/share/mk/bsd.own.mk Sun Apr 17 12:54:22 2011
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.own.mk,v 1.659 2011/04/17 00:05:36 mrg Exp $
+# $NetBSD: bsd.own.mk,v 1.660 2011/04/17 12:54:22 tron Exp $
# This needs to be before bsd.init.mk
.if defined(BSD_MK_COMPAT_FILE)
@@ -210,9 +210,6 @@
.if !defined(HOSTPROG) && !defined(HOSTLIB) && defined(DESTDIR)
CPPFLAGS+= --sysroot=${DESTDIR}
LDFLAGS+= --sysroot=${DESTDIR}
-.else
-CPPFLAGS+= --sysroot=/
-LDFLAGS+= --sysroot=/
.endif
.endif # EXTERNAL_TOOLCHAIN # }