Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk Need --sysroot=/ otherwise ld does not find crt0.o ...
details: https://anonhg.NetBSD.org/src/rev/d56b5f2e7bda
branches: trunk
changeset: 764334:d56b5f2e7bda
user: christos <christos%NetBSD.org@localhost>
date: Sat Apr 16 22:45:23 2011 +0000
description:
Need --sysroot=/ otherwise ld does not find crt0.o and friends.
diffstat:
share/mk/bsd.own.mk | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 14676fbd3c0f -r d56b5f2e7bda share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk Sat Apr 16 22:00:34 2011 +0000
+++ b/share/mk/bsd.own.mk Sat Apr 16 22:45:23 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.own.mk,v 1.657 2011/04/16 21:41:24 christos Exp $
+# $NetBSD: bsd.own.mk,v 1.658 2011/04/16 22:45:23 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)
CPPFLAGGS+= --sysroot=${DESTDIR}
LDFLAGS+= --sysroot=${DESTDIR}
+.else
+CPPFLAGGS+= --sysroot=/
+LDFLAGS+= --sysroot=/
.endif
.endif # EXTERNAL_TOOLCHAIN # }
Home |
Main Index |
Thread Index |
Old Index