Source-Changes-HG archive

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

[src/trunk]: src/tools/gcc for mknative, make sure we look in the target's /l...



details:   https://anonhg.NetBSD.org/src/rev/be6566f746ca
branches:  trunk
changeset: 550859:be6566f746ca
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sat Aug 23 10:07:25 2003 +0000

description:
for mknative, make sure we look in the target's /lib directly as the
symlinks in the /usr/lib directory point (absolutely) to "/lib/libfoo.so",
which ends up being quite invalid when target!=host...

diffstat:

 tools/gcc/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 65591f5cdab0 -r be6566f746ca tools/gcc/Makefile
--- a/tools/gcc/Makefile        Sat Aug 23 09:10:51 2003 +0000
+++ b/tools/gcc/Makefile        Sat Aug 23 10:07:25 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.5 2003/08/21 23:53:12 mrg Exp $
+#      $NetBSD: Makefile,v 1.6 2003/08/23 10:07:25 mrg Exp $
 
 .include <bsd.own.mk>
 
@@ -26,7 +26,7 @@
 
 .include "${.CURDIR}/../Makefile.gnuhost"
 
-CCADDFLAGS=    -isystem ${DESTDIR}/usr/include -isystem-cxx ${DESTDIR}/usr/include/g++ -L${DESTDIR}/usr/lib -B${DESTDIR}/usr/lib/
+CCADDFLAGS=    -isystem ${DESTDIR}/usr/include -isystem-cxx ${DESTDIR}/usr/include/g++ -L${DESTDIR}/lib -L${DESTDIR}/usr/lib -B${DESTDIR}/usr/lib/
 
 NEWCONFIGDIR?= ${.CURDIR}/../..
 



Home | Main Index | Thread Index | Old Index