Source-Changes-HG archive

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

[src/trunk]: src/share/mk Revert previous, breaks builds completely (cd /usr/...



details:   https://anonhg.NetBSD.org/src/rev/2b4159e3b457
branches:  trunk
changeset: 764357:2b4159e3b457
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Apr 17 15:03:37 2011 +0000

description:
Revert previous, breaks builds completely (cd /usr/src/bin/test && make clean &&
make)

diffstat:

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

diffs (19 lines):

diff -r 619f41e05339 -r 2b4159e3b457 share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk       Sun Apr 17 14:58:26 2011 +0000
+++ b/share/mk/bsd.own.mk       Sun Apr 17 15:03:37 2011 +0000
@@ -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                                            # }
 



Home | Main Index | Thread Index | Old Index