pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/bootstrap/mods/mk substitute --whole-archive and --no-...
details: https://anonhg.NetBSD.org/pkgsrc/rev/511db7980195
branches: trunk
changeset: 479505:511db7980195
user: jschauma <jschauma%pkgsrc.org@localhost>
date: Sun Aug 15 22:15:18 2004 +0000
description:
substitute --whole-archive and --no-whole-archive with the appropriate
linker flags (-all and -notall, respectively). Pointed out by Georg
Schwarz in private mail.
diffstat:
bootstrap/mods/mk/IRIX.bsd.lib.mk | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (27 lines):
diff -r 0c1afd9cbd9c -r 511db7980195 bootstrap/mods/mk/IRIX.bsd.lib.mk
--- a/bootstrap/mods/mk/IRIX.bsd.lib.mk Sun Aug 15 22:13:55 2004 +0000
+++ b/bootstrap/mods/mk/IRIX.bsd.lib.mk Sun Aug 15 22:15:18 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: IRIX.bsd.lib.mk,v 1.2 2004/06/05 20:53:12 jschauma Exp $
+# $NetBSD: IRIX.bsd.lib.mk,v 1.3 2004/08/15 22:15:18 jschauma Exp $
# @(#)bsd.lib.mk 8.3 (Berkeley) 4/22/94
.if !target(__initialized__)
@@ -375,14 +375,14 @@
.if defined(DESTDIR)
$(LD) -nostdlib -x -shared ${SHLIB_SHFLAGS} -o ${.TARGET} \
${SHLIB_LDSTARTFILE} \
- --whole-archive ${SOLIB} \
- --no-whole-archive ${LDADD} \
+ -all archive ${SOLIB} \
+ -notall ${LDADD} \
-L${DESTDIR}${LIBDIR} -rpath ${LIBDIR} \
${SHLIB_LDENDFILE}
.else
$(LD) -x -shared ${SHLIB_SHFLAGS} -o ${.TARGET} \
${SHLIB_LDSTARTFILE} \
- --whole-archive ${SOLIB} --no-whole-archive ${LDADD} \
+ -all ${SOLIB} -notall ${LDADD} \
${SHLIB_LDENDFILE}
.endif
.if ${OBJECT_FMT} == "ELF"
Home |
Main Index |
Thread Index |
Old Index