diff options
author | jschauma <jschauma@pkgsrc.org> | 2004-08-15 22:15:18 +0000 |
---|---|---|
committer | jschauma <jschauma@pkgsrc.org> | 2004-08-15 22:15:18 +0000 |
commit | 72f96c0eab79ba9041ab5d53b5b851da8e80c56b (patch) | |
tree | 917835858070c87e56fd1f599831cfc383e16f4d /bootstrap/mods/mk | |
parent | ee97bedb058550747e33698c45db34e898788a81 (diff) | |
download | pkgsrc-72f96c0eab79ba9041ab5d53b5b851da8e80c56b.tar.gz |
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 (limited to 'bootstrap/mods/mk')
-rw-r--r-- | bootstrap/mods/mk/IRIX.bsd.lib.mk | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bootstrap/mods/mk/IRIX.bsd.lib.mk b/bootstrap/mods/mk/IRIX.bsd.lib.mk index 99e1ec40efa..b18f764f42a 100644 --- a/bootstrap/mods/mk/IRIX.bsd.lib.mk +++ b/bootstrap/mods/mk/IRIX.bsd.lib.mk @@ -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 @@ lib${LIB}.so.${SHLIB_FULLVERSION}: ${SOLIB} ${DPADD} \ .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" |