Source-Changes-HG archive

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

[src/trunk]: src/share/mk Re-arrange location of "-nostdlib" in DESTDIR case ...



details:   https://anonhg.NetBSD.org/src/rev/ecf1bf6b1d71
branches:  trunk
changeset: 474653:ecf1bf6b1d71
user:      wrstuden <wrstuden%NetBSD.org@localhost>
date:      Wed Jul 14 20:18:07 1999 +0000

description:
Re-arrange location of "-nostdlib" in DESTDIR case so that cross-ld's
won't name the output file "stdlib".

diffstat:

 share/mk/bsd.lib.mk |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r 4c1d5bcd8960 -r ecf1bf6b1d71 share/mk/bsd.lib.mk
--- a/share/mk/bsd.lib.mk       Wed Jul 14 19:12:07 1999 +0000
+++ b/share/mk/bsd.lib.mk       Wed Jul 14 20:18:07 1999 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.lib.mk,v 1.154 1999/06/10 00:40:05 simonb Exp $
+#      $NetBSD: bsd.lib.mk,v 1.155 1999/07/14 20:18:07 wrstuden Exp $
 #      @(#)bsd.lib.mk  8.3 (Berkeley) 4/22/94
 
 .if !target(__initialized__)
@@ -280,10 +280,10 @@
        @echo building shared ${LIB} library \(version ${SHLIB_MAJOR}.${SHLIB_MINOR}\)
        @rm -f lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR}
 .if defined(DESTDIR)
-       $(LD) -x -shared ${SHLIB_SHFLAGS} -o ${.TARGET} \
+       $(LD) -nostdlib -x -shared ${SHLIB_SHFLAGS} -o ${.TARGET} \
            ${SHLIB_LDSTARTFILE} \
            --whole-archive lib${LIB}_pic.a \
-           -nostdlib -L${DESTDIR}${LIBDIR} -R${LIBDIR} \
+           -L${DESTDIR}${LIBDIR} -R${LIBDIR} \
            --no-whole-archive ${LDADD} \
            ${SHLIB_LDENDFILE}
 .else



Home | Main Index | Thread Index | Old Index