Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/mk Don't use "--sysroot=/" for host builds as "nbhost-...



details:   https://anonhg.NetBSD.org/src/rev/1cc9e2c564a0
branches:  trunk
changeset: 764350:1cc9e2c564a0
user:      tron <tron%NetBSD.org@localhost>
date:      Sun Apr 17 12:54:22 2011 +0000

description:
Don't use "--sysroot=/" for host builds as "nbhost-mkdep" doesn't
understand that option. This should unbreak tool builds.

diffstat:

 share/mk/bsd.own.mk |  5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diffs (19 lines):

diff -r 57da16608c05 -r 1cc9e2c564a0 share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk       Sun Apr 17 12:52:26 2011 +0000
+++ b/share/mk/bsd.own.mk       Sun Apr 17 12:54:22 2011 +0000
@@ -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                                            # }
 



Home | Main Index | Thread Index | Old Index