diff options
author | joerg <joerg@pkgsrc.org> | 2007-08-10 13:04:13 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2007-08-10 13:04:13 +0000 |
commit | 06cbbe04912fe848ffedcbddb25d515804041ab4 (patch) | |
tree | b6123e062f7b07f01c676b80ba100b5f0557553c | |
parent | a71bf8a4dbf8900a2c40215ae83ce014b1a4bf39 (diff) | |
download | pkgsrc-06cbbe04912fe848ffedcbddb25d515804041ab4.tar.gz |
Don't use ld -x or ld -X. Bump version to 20070810.
Discussed with and tested by various people over the last two month.
This problem was exposed by pbulk.
-rw-r--r-- | pkgtools/bootstrap-mk-files/Makefile | 4 | ||||
-rw-r--r-- | pkgtools/bootstrap-mk-files/files/bsd.lib.mk | 32 | ||||
-rw-r--r-- | pkgtools/bootstrap-mk-files/files/mods/Darwin.bsd.lib.mk | 36 | ||||
-rw-r--r-- | pkgtools/bootstrap-mk-files/files/mods/IRIX.bsd.lib.mk | 36 | ||||
-rw-r--r-- | pkgtools/bootstrap-mk-files/files/mods/Interix.bsd.lib.mk | 32 | ||||
-rw-r--r-- | pkgtools/bootstrap-mk-files/files/mods/Linux.bsd.lib.mk | 36 |
6 files changed, 88 insertions, 88 deletions
diff --git a/pkgtools/bootstrap-mk-files/Makefile b/pkgtools/bootstrap-mk-files/Makefile index 8e88624b9ce..1beea9d5fa8 100644 --- a/pkgtools/bootstrap-mk-files/Makefile +++ b/pkgtools/bootstrap-mk-files/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.4 2007/04/12 14:36:40 joerg Exp $ +# $NetBSD: Makefile,v 1.5 2007/08/10 13:04:13 joerg Exp $ -DISTNAME= bootstrap-mk-files-20061111 +DISTNAME= bootstrap-mk-files-20070810 CATEGORIES= pkgtools MASTER_SITES= # empty DISTFILES= # empty diff --git a/pkgtools/bootstrap-mk-files/files/bsd.lib.mk b/pkgtools/bootstrap-mk-files/files/bsd.lib.mk index 73564817c7e..c0cec7f726d 100644 --- a/pkgtools/bootstrap-mk-files/files/bsd.lib.mk +++ b/pkgtools/bootstrap-mk-files/files/bsd.lib.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.lib.mk,v 1.1.1.1 2006/07/14 23:13:00 jlam Exp $ +# $NetBSD: bsd.lib.mk,v 1.2 2007/08/10 13:04:13 joerg Exp $ # @(#)bsd.lib.mk 8.3 (Berkeley) 4/22/94 .if !target(__initialized__) @@ -161,7 +161,7 @@ FFLAGS+= ${FOPTS} .else @echo ${COMPILE.c:Q} ${.IMPSRC} @${COMPILE.c} ${.IMPSRC} -o ${.TARGET}.o - @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .endif @@ -181,7 +181,7 @@ FFLAGS+= ${FOPTS} .else @echo ${COMPILE.c:Q} ${CPICFLAGS} ${.IMPSRC} -o ${.TARGET} @${COMPILE.c} ${CPICFLAGS} ${.IMPSRC} -o ${.TARGET}.o - @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .endif @@ -194,7 +194,7 @@ FFLAGS+= ${FOPTS} .else @echo ${COMPILE.cc:Q} ${.IMPSRC} @${COMPILE.cc} ${.IMPSRC} -o ${.TARGET}.o - @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .endif @@ -214,7 +214,7 @@ FFLAGS+= ${FOPTS} .else @echo ${COMPILE.cc:Q} ${CPICFLAGS} ${.IMPSRC} -o ${.TARGET} @${COMPILE.cc} ${CPICFLAGS} ${.IMPSRC} -o ${.TARGET}.o - @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .endif @@ -224,7 +224,7 @@ FFLAGS+= ${FOPTS} .else @echo ${COMPILE.f:Q} ${.IMPSRC} @${COMPILE.f} ${.IMPSRC} -o ${.TARGET}.o - @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .endif @@ -234,7 +234,7 @@ FFLAGS+= ${FOPTS} .else @echo ${COMPILE.f:Q} -pg ${.IMPSRC} -o ${.TARGET} @${COMPILE.f} -pg ${.IMPSRC} -o ${.TARGET}.o - @${LD} -X -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .endif @@ -244,7 +244,7 @@ FFLAGS+= ${FOPTS} .else @echo ${COMPILE.f:Q} ${FPICFLAGS} ${.IMPSRC} -o ${.TARGET} @${COMPILE.f} ${FPICFLAGS} ${.IMPSRC} -o ${.TARGET}.o - @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .endif @@ -257,7 +257,7 @@ FFLAGS+= ${FOPTS} .else @echo ${COMPILE.m:Q} ${.IMPSRC} @${COMPILE.m} ${.IMPSRC} -o ${.TARGET}.o - @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .endif @@ -267,7 +267,7 @@ FFLAGS+= ${FOPTS} .else @echo ${COMPILE.m:Q} -pg ${.IMPSRC} -o ${.TARGET} @${COMPILE.m} -pg ${.IMPSRC} -o ${.TARGET}.o - @${LD} -X -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .endif @@ -277,26 +277,26 @@ FFLAGS+= ${FOPTS} .else @echo ${COMPILE.m:Q} ${CPICFLAGS} ${.IMPSRC} -o ${.TARGET} @${COMPILE.m} ${CPICFLAGS} ${.IMPSRC} -o ${.TARGET}.o - @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .endif .S.o .s.o: @echo ${COMPILE.S:Q} ${CFLAGS:M-[ID]*} ${AINC} ${.IMPSRC} @${COMPILE.S} ${CFLAGS:M-[ID]*} ${AINC} ${.IMPSRC} -o ${.TARGET}.o - @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .S.po .s.po: @echo ${COMPILE.S:Q} -DGPROF -DPROF ${CFLAGS:M-[ID]*} ${AINC} ${.IMPSRC} -o ${.TARGET} @${COMPILE.S} -DGPROF -DPROF ${CFLAGS:M-[ID]*} ${AINC} ${.IMPSRC} -o ${.TARGET}.o - @${LD} -X -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .S.so .s.so: @echo ${COMPILE.S:Q} ${CAPICFLAGS} ${CFLAGS:M-[ID]*} ${AINC} ${.IMPSRC} -o ${.TARGET} @${COMPILE.S} ${CAPICFLAGS} ${CFLAGS:M-[ID]*} ${AINC} ${.IMPSRC} -o ${.TARGET}.o - @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .if ${MKPIC} == "no" || (defined(LDSTATIC) && ${LDSTATIC} != "") \ @@ -375,14 +375,14 @@ lib${LIB}.so.${SHLIB_FULLVERSION}: ${SOLIB} ${DPADD} \ @echo building shared ${LIB} library \(version ${SHLIB_FULLVERSION}\) @rm -f lib${LIB}.so.${SHLIB_FULLVERSION} .if defined(DESTDIR) - $(LD) -nostdlib -x -shared ${SHLIB_SHFLAGS} -o ${.TARGET} \ + $(LD) -nostdlib -shared ${SHLIB_SHFLAGS} -o ${.TARGET} \ ${SHLIB_LDSTARTFILE} \ --whole-archive ${SOLIB} \ --no-whole-archive ${LDADD} \ -L${DESTDIR}${LIBDIR} ${RPATH_FLAG}${LIBDIR} \ ${SHLIB_LDENDFILE} .else - $(LD) -x -shared ${SHLIB_SHFLAGS} -o ${.TARGET} \ + $(LD) -shared ${SHLIB_SHFLAGS} -o ${.TARGET} \ ${SHLIB_LDSTARTFILE} \ --whole-archive ${SOLIB} --no-whole-archive ${LDADD} \ ${SHLIB_LDENDFILE} diff --git a/pkgtools/bootstrap-mk-files/files/mods/Darwin.bsd.lib.mk b/pkgtools/bootstrap-mk-files/files/mods/Darwin.bsd.lib.mk index 089e9515b9a..61d7c0b3ae7 100644 --- a/pkgtools/bootstrap-mk-files/files/mods/Darwin.bsd.lib.mk +++ b/pkgtools/bootstrap-mk-files/files/mods/Darwin.bsd.lib.mk @@ -1,4 +1,4 @@ -# $NetBSD: Darwin.bsd.lib.mk,v 1.1.1.1 2006/07/14 23:13:01 jlam Exp $ +# $NetBSD: Darwin.bsd.lib.mk,v 1.2 2007/08/10 13:04:13 joerg Exp $ # @(#)bsd.lib.mk 8.3 (Berkeley) 4/22/94 .if !target(__initialized__) @@ -161,7 +161,7 @@ FFLAGS+= ${FOPTS} .else @echo ${COMPILE.c:Q} ${.IMPSRC} @${COMPILE.c} ${.IMPSRC} -o ${.TARGET}.o - @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .endif @@ -171,7 +171,7 @@ FFLAGS+= ${FOPTS} .else @echo ${COMPILE.c:Q} -pg ${.IMPSRC} -o ${.TARGET} @${COMPILE.c} -pg ${.IMPSRC} -o ${.TARGET}.o - @${LD} -X -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .endif @@ -181,7 +181,7 @@ FFLAGS+= ${FOPTS} .else @echo ${COMPILE.c:Q} ${CPICFLAGS} ${.IMPSRC} -o ${.TARGET} @${COMPILE.c} ${CPICFLAGS} ${.IMPSRC} -o ${.TARGET}.o - @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .endif @@ -194,7 +194,7 @@ FFLAGS+= ${FOPTS} .else @echo ${COMPILE.cc:Q} ${.IMPSRC} @${COMPILE.cc} ${.IMPSRC} -o ${.TARGET}.o - @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .endif @@ -204,7 +204,7 @@ FFLAGS+= ${FOPTS} .else @echo ${COMPILE.cc:Q} -pg ${.IMPSRC} -o ${.TARGET} @${COMPILE.cc} -pg ${.IMPSRC} -o ${.TARGET}.o - @${LD} -X -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .endif @@ -214,7 +214,7 @@ FFLAGS+= ${FOPTS} .else @echo ${COMPILE.cc:Q} ${CPICFLAGS} ${.IMPSRC} -o ${.TARGET} @${COMPILE.cc} ${CPICFLAGS} ${.IMPSRC} -o ${.TARGET}.o - @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .endif @@ -224,7 +224,7 @@ FFLAGS+= ${FOPTS} .else @echo ${COMPILE.f:Q} ${.IMPSRC} @${COMPILE.f} ${.IMPSRC} -o ${.TARGET}.o - @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .endif @@ -234,7 +234,7 @@ FFLAGS+= ${FOPTS} .else @echo ${COMPILE.f:Q} -pg ${.IMPSRC} -o ${.TARGET} @${COMPILE.f} -pg ${.IMPSRC} -o ${.TARGET}.o - @${LD} -X -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .endif @@ -244,7 +244,7 @@ FFLAGS+= ${FOPTS} .else @echo ${COMPILE.f:Q} ${FPICFLAGS} ${.IMPSRC} -o ${.TARGET} @${COMPILE.f} ${FPICFLAGS} ${.IMPSRC} -o ${.TARGET}.o - @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .endif @@ -257,7 +257,7 @@ FFLAGS+= ${FOPTS} .else @echo ${COMPILE.m:Q} ${.IMPSRC} @${COMPILE.m} ${.IMPSRC} -o ${.TARGET}.o - @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .endif @@ -267,7 +267,7 @@ FFLAGS+= ${FOPTS} .else @echo ${COMPILE.m:Q} -pg ${.IMPSRC} -o ${.TARGET} @${COMPILE.m} -pg ${.IMPSRC} -o ${.TARGET}.o - @${LD} -X -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .endif @@ -277,26 +277,26 @@ FFLAGS+= ${FOPTS} .else @echo ${COMPILE.m:Q} ${CPICFLAGS} ${.IMPSRC} -o ${.TARGET} @${COMPILE.m} ${CPICFLAGS} ${.IMPSRC} -o ${.TARGET}.o - @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .endif .S.o .s.o: @echo ${COMPILE.S:Q} ${CFLAGS:M-[ID]*} ${AINC} ${.IMPSRC} @${COMPILE.S} ${CFLAGS:M-[ID]*} ${AINC} ${.IMPSRC} -o ${.TARGET}.o - @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .S.po .s.po: @echo ${COMPILE.S:Q} -DGPROF -DPROF ${CFLAGS:M-[ID]*} ${AINC} ${.IMPSRC} -o ${.TARGET} @${COMPILE.S} -DGPROF -DPROF ${CFLAGS:M-[ID]*} ${AINC} ${.IMPSRC} -o ${.TARGET}.o - @${LD} -X -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .S.so .s.so: @echo ${COMPILE.S:Q} ${CAPICFLAGS} ${CFLAGS:M-[ID]*} ${AINC} ${.IMPSRC} -o ${.TARGET} @${COMPILE.S} ${CAPICFLAGS} ${CFLAGS:M-[ID]*} ${AINC} ${.IMPSRC} -o ${.TARGET}.o - @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .if ${MKPIC} == "no" || (defined(LDSTATIC) && ${LDSTATIC} != "") \ @@ -375,14 +375,14 @@ lib${LIB}.so.${SHLIB_FULLVERSION}: ${SOLIB} ${DPADD} \ @echo building shared ${LIB} library \(version ${SHLIB_FULLVERSION}\) @rm -f lib${LIB}.so.${SHLIB_FULLVERSION} .if defined(DESTDIR) - $(LD) -nostdlib -x -shared ${SHLIB_SHFLAGS} -o ${.TARGET} \ + $(LD) -nostdlib -shared ${SHLIB_SHFLAGS} -o ${.TARGET} \ ${SHLIB_LDSTARTFILE} \ --whole-archive ${SOLIB} \ --no-whole-archive ${LDADD} \ -L${DESTDIR}${LIBDIR} -R${LIBDIR} \ ${SHLIB_LDENDFILE} .else - $(LD) -x -shared ${SHLIB_SHFLAGS} -o ${.TARGET} \ + $(LD) -shared ${SHLIB_SHFLAGS} -o ${.TARGET} \ ${SHLIB_LDSTARTFILE} \ --whole-archive ${SOLIB} --no-whole-archive ${LDADD} \ ${SHLIB_LDENDFILE} diff --git a/pkgtools/bootstrap-mk-files/files/mods/IRIX.bsd.lib.mk b/pkgtools/bootstrap-mk-files/files/mods/IRIX.bsd.lib.mk index 02e9d96920a..6c243f9c82f 100644 --- a/pkgtools/bootstrap-mk-files/files/mods/IRIX.bsd.lib.mk +++ b/pkgtools/bootstrap-mk-files/files/mods/IRIX.bsd.lib.mk @@ -1,4 +1,4 @@ -# $NetBSD: IRIX.bsd.lib.mk,v 1.1.1.1 2006/07/14 23:13:01 jlam Exp $ +# $NetBSD: IRIX.bsd.lib.mk,v 1.2 2007/08/10 13:04:13 joerg Exp $ # @(#)bsd.lib.mk 8.3 (Berkeley) 4/22/94 .if !target(__initialized__) @@ -161,7 +161,7 @@ FFLAGS+= ${FOPTS} .else @echo ${COMPILE.c:Q} ${.IMPSRC} @${COMPILE.c} ${.IMPSRC} -o ${.TARGET}.o - @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .endif @@ -171,7 +171,7 @@ FFLAGS+= ${FOPTS} .else @echo ${COMPILE.c:Q} -pg ${.IMPSRC} -o ${.TARGET} @${COMPILE.c} -pg ${.IMPSRC} -o ${.TARGET}.o - @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .endif @@ -181,7 +181,7 @@ FFLAGS+= ${FOPTS} .else @echo ${COMPILE.c:Q} ${CPICFLAGS} ${.IMPSRC} -o ${.TARGET} @${COMPILE.c} ${CPICFLAGS} ${.IMPSRC} -o ${.TARGET}.o - @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .endif @@ -194,7 +194,7 @@ FFLAGS+= ${FOPTS} .else @echo ${COMPILE.cc:Q} ${.IMPSRC} @${COMPILE.cc} ${.IMPSRC} -o ${.TARGET}.o - @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .endif @@ -204,7 +204,7 @@ FFLAGS+= ${FOPTS} .else @echo ${COMPILE.cc:Q} -pg ${.IMPSRC} -o ${.TARGET} @${COMPILE.cc} -pg ${.IMPSRC} -o ${.TARGET}.o - @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .endif @@ -214,7 +214,7 @@ FFLAGS+= ${FOPTS} .else @echo ${COMPILE.cc:Q} ${CPICFLAGS} ${.IMPSRC} -o ${.TARGET} @${COMPILE.cc} ${CPICFLAGS} ${.IMPSRC} -o ${.TARGET}.o - @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .endif @@ -224,7 +224,7 @@ FFLAGS+= ${FOPTS} .else @echo ${COMPILE.f:Q} ${.IMPSRC} @${COMPILE.f} ${.IMPSRC} -o ${.TARGET}.o - @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .endif @@ -234,7 +234,7 @@ FFLAGS+= ${FOPTS} .else @echo ${COMPILE.f:Q} -pg ${.IMPSRC} -o ${.TARGET} @${COMPILE.f} -pg ${.IMPSRC} -o ${.TARGET}.o - @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .endif @@ -244,7 +244,7 @@ FFLAGS+= ${FOPTS} .else @echo ${COMPILE.f:Q} ${FPICFLAGS} ${.IMPSRC} -o ${.TARGET} @${COMPILE.f} ${FPICFLAGS} ${.IMPSRC} -o ${.TARGET}.o - @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .endif @@ -257,7 +257,7 @@ FFLAGS+= ${FOPTS} .else @echo ${COMPILE.m:Q} ${.IMPSRC} @${COMPILE.m} ${.IMPSRC} -o ${.TARGET}.o - @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .endif @@ -267,7 +267,7 @@ FFLAGS+= ${FOPTS} .else @echo ${COMPILE.m:Q} -pg ${.IMPSRC} -o ${.TARGET} @${COMPILE.m} -pg ${.IMPSRC} -o ${.TARGET}.o - @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .endif @@ -277,26 +277,26 @@ FFLAGS+= ${FOPTS} .else @echo ${COMPILE.m:Q} ${CPICFLAGS} ${.IMPSRC} -o ${.TARGET} @${COMPILE.m} ${CPICFLAGS} ${.IMPSRC} -o ${.TARGET}.o - @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .endif .S.o .s.o: @echo ${COMPILE.S:Q} ${CFLAGS:M-[ID]*} ${AINC} ${.IMPSRC} @${COMPILE.S} ${CFLAGS:M-[ID]*} ${AINC} ${.IMPSRC} -o ${.TARGET}.o - @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .S.po .s.po: @echo ${COMPILE.S:Q} -DGPROF -DPROF ${CFLAGS:M-[ID]*} ${AINC} ${.IMPSRC} -o ${.TARGET} @${COMPILE.S} -DGPROF -DPROF ${CFLAGS:M-[ID]*} ${AINC} ${.IMPSRC} -o ${.TARGET}.o - @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .S.so .s.so: @echo ${COMPILE.S:Q} ${CAPICFLAGS} ${CFLAGS:M-[ID]*} ${AINC} ${.IMPSRC} -o ${.TARGET} @${COMPILE.S} ${CAPICFLAGS} ${CFLAGS:M-[ID]*} ${AINC} ${.IMPSRC} -o ${.TARGET}.o - @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .if ${MKPIC} == "no" || (defined(LDSTATIC) && ${LDSTATIC} != "") \ @@ -373,14 +373,14 @@ lib${LIB}.so.${SHLIB_FULLVERSION}: ${SOLIB} ${DPADD} \ @echo building shared ${LIB} library \(version ${SHLIB_FULLVERSION}\) @rm -f lib${LIB}.so.${SHLIB_FULLVERSION} .if defined(DESTDIR) - $(LD) -nostdlib -x -shared ${SHLIB_SHFLAGS} -o ${.TARGET} \ + $(LD) -nostdlib -shared ${SHLIB_SHFLAGS} -o ${.TARGET} \ ${SHLIB_LDSTARTFILE} \ -all archive ${SOLIB} \ -none ${LDADD} \ -L${DESTDIR}${LIBDIR} -rpath ${LIBDIR} \ ${SHLIB_LDENDFILE} .else - $(LD) -x -shared ${SHLIB_SHFLAGS} -o ${.TARGET} \ + $(LD) -shared ${SHLIB_SHFLAGS} -o ${.TARGET} \ ${SHLIB_LDSTARTFILE} \ -all ${SOLIB} -none ${LDADD} \ ${SHLIB_LDENDFILE} diff --git a/pkgtools/bootstrap-mk-files/files/mods/Interix.bsd.lib.mk b/pkgtools/bootstrap-mk-files/files/mods/Interix.bsd.lib.mk index 089a6c3014c..90679c751c3 100644 --- a/pkgtools/bootstrap-mk-files/files/mods/Interix.bsd.lib.mk +++ b/pkgtools/bootstrap-mk-files/files/mods/Interix.bsd.lib.mk @@ -1,4 +1,4 @@ -# $NetBSD: Interix.bsd.lib.mk,v 1.1.1.1 2006/07/14 23:13:01 jlam Exp $ +# $NetBSD: Interix.bsd.lib.mk,v 1.2 2007/08/10 13:04:13 joerg Exp $ # @(#)bsd.lib.mk 8.3 (Berkeley) 4/22/94 .if !target(__initialized__) @@ -117,7 +117,7 @@ FFLAGS+= ${FOPTS} .else @echo ${COMPILE.c:Q} ${.IMPSRC} @${COMPILE.c} ${.IMPSRC} -o ${.TARGET}.o - @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .endif @@ -127,7 +127,7 @@ FFLAGS+= ${FOPTS} .else @echo ${COMPILE.c:Q} -pg ${.IMPSRC} -o ${.TARGET} @${COMPILE.c} -pg ${.IMPSRC} -o ${.TARGET}.o - @${LD} -X -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .endif @@ -137,7 +137,7 @@ FFLAGS+= ${FOPTS} .else @echo ${COMPILE.c:Q} ${CPICFLAGS} ${.IMPSRC} -o ${.TARGET} @${COMPILE.c} ${CPICFLAGS} ${.IMPSRC} -o ${.TARGET}.o - @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .endif @@ -150,7 +150,7 @@ FFLAGS+= ${FOPTS} .else @echo ${COMPILE.cc:Q} ${.IMPSRC} @${COMPILE.cc} ${.IMPSRC} -o ${.TARGET}.o - @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .endif @@ -160,7 +160,7 @@ FFLAGS+= ${FOPTS} .else @echo ${COMPILE.cc:Q} -pg ${.IMPSRC} -o ${.TARGET} @${COMPILE.cc} -pg ${.IMPSRC} -o ${.TARGET}.o - @${LD} -X -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .endif @@ -170,7 +170,7 @@ FFLAGS+= ${FOPTS} .else @echo ${COMPILE.cc:Q} ${CPICFLAGS} ${.IMPSRC} -o ${.TARGET} @${COMPILE.cc} ${CPICFLAGS} ${.IMPSRC} -o ${.TARGET}.o - @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .endif @@ -180,7 +180,7 @@ FFLAGS+= ${FOPTS} .else @echo ${COMPILE.f:Q} ${.IMPSRC} @${COMPILE.f} ${.IMPSRC} -o ${.TARGET}.o - @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .endif @@ -190,7 +190,7 @@ FFLAGS+= ${FOPTS} .else @echo ${COMPILE.f:Q} -pg ${.IMPSRC} -o ${.TARGET} @${COMPILE.f} -pg ${.IMPSRC} -o ${.TARGET}.o - @${LD} -X -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .endif @@ -200,7 +200,7 @@ FFLAGS+= ${FOPTS} .else @echo ${COMPILE.f:Q} ${FPICFLAGS} ${.IMPSRC} -o ${.TARGET} @${COMPILE.f} ${FPICFLAGS} ${.IMPSRC} -o ${.TARGET}.o - @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .endif @@ -213,7 +213,7 @@ FFLAGS+= ${FOPTS} .else @echo ${COMPILE.m:Q} ${.IMPSRC} @${COMPILE.m} ${.IMPSRC} -o ${.TARGET}.o - @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .endif @@ -223,7 +223,7 @@ FFLAGS+= ${FOPTS} .else @echo ${COMPILE.m:Q} -pg ${.IMPSRC} -o ${.TARGET} @${COMPILE.m} -pg ${.IMPSRC} -o ${.TARGET}.o - @${LD} -X -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .endif @@ -233,26 +233,26 @@ FFLAGS+= ${FOPTS} .else @echo ${COMPILE.m:Q} ${CPICFLAGS} ${.IMPSRC} -o ${.TARGET} @${COMPILE.m} ${CPICFLAGS} ${.IMPSRC} -o ${.TARGET}.o - @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .endif .S.o .s.o: @echo ${COMPILE.S:Q} ${CFLAGS:M-[ID]*} ${AINC} ${.IMPSRC} @${COMPILE.S} ${CFLAGS:M-[ID]*} ${AINC} ${.IMPSRC} -o ${.TARGET}.o - @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .S.po .s.po: @echo ${COMPILE.S:Q} -DGPROF -DPROF ${CFLAGS:M-[ID]*} ${AINC} ${.IMPSRC} -o ${.TARGET} @${COMPILE.S} -DGPROF -DPROF ${CFLAGS:M-[ID]*} ${AINC} ${.IMPSRC} -o ${.TARGET}.o - @${LD} -X -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .S.so .s.so: @echo ${COMPILE.S:Q} ${CAPICFLAGS} ${CFLAGS:M-[ID]*} ${AINC} ${.IMPSRC} -o ${.TARGET} @${COMPILE.S} ${CAPICFLAGS} ${CFLAGS:M-[ID]*} ${AINC} ${.IMPSRC} -o ${.TARGET}.o - @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .if ${MKPIC} == "no" || (defined(LDSTATIC) && ${LDSTATIC} != "") \ diff --git a/pkgtools/bootstrap-mk-files/files/mods/Linux.bsd.lib.mk b/pkgtools/bootstrap-mk-files/files/mods/Linux.bsd.lib.mk index 773b62d621d..0ada1d7ecbb 100644 --- a/pkgtools/bootstrap-mk-files/files/mods/Linux.bsd.lib.mk +++ b/pkgtools/bootstrap-mk-files/files/mods/Linux.bsd.lib.mk @@ -1,4 +1,4 @@ -# $NetBSD: Linux.bsd.lib.mk,v 1.1.1.1 2006/07/14 23:13:01 jlam Exp $ +# $NetBSD: Linux.bsd.lib.mk,v 1.2 2007/08/10 13:04:13 joerg Exp $ # @(#)bsd.lib.mk 8.3 (Berkeley) 4/22/94 .if !target(__initialized__) @@ -161,7 +161,7 @@ FFLAGS+= ${FOPTS} .else @echo ${COMPILE.c:Q} ${.IMPSRC} @${COMPILE.c} ${.IMPSRC} -o ${.TARGET}.o - @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .endif @@ -171,7 +171,7 @@ FFLAGS+= ${FOPTS} .else @echo ${COMPILE.c:Q} -pg ${.IMPSRC} -o ${.TARGET} @${COMPILE.c} -pg ${.IMPSRC} -o ${.TARGET}.o - @${LD} -X -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .endif @@ -181,7 +181,7 @@ FFLAGS+= ${FOPTS} .else @echo ${COMPILE.c:Q} ${CPICFLAGS} ${.IMPSRC} -o ${.TARGET} @${COMPILE.c} ${CPICFLAGS} ${.IMPSRC} -o ${.TARGET}.o - @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .endif @@ -194,7 +194,7 @@ FFLAGS+= ${FOPTS} .else @echo ${COMPILE.cc:Q} ${.IMPSRC} @${COMPILE.cc} ${.IMPSRC} -o ${.TARGET}.o - @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .endif @@ -204,7 +204,7 @@ FFLAGS+= ${FOPTS} .else @echo ${COMPILE.cc:Q} -pg ${.IMPSRC} -o ${.TARGET} @${COMPILE.cc} -pg ${.IMPSRC} -o ${.TARGET}.o - @${LD} -X -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .endif @@ -214,7 +214,7 @@ FFLAGS+= ${FOPTS} .else @echo ${COMPILE.cc:Q} ${CPICFLAGS} ${.IMPSRC} -o ${.TARGET} @${COMPILE.cc} ${CPICFLAGS} ${.IMPSRC} -o ${.TARGET}.o - @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .endif @@ -224,7 +224,7 @@ FFLAGS+= ${FOPTS} .else @echo ${COMPILE.f:Q} ${.IMPSRC} @${COMPILE.f} ${.IMPSRC} -o ${.TARGET}.o - @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .endif @@ -234,7 +234,7 @@ FFLAGS+= ${FOPTS} .else @echo ${COMPILE.f:Q} -pg ${.IMPSRC} -o ${.TARGET} @${COMPILE.f} -pg ${.IMPSRC} -o ${.TARGET}.o - @${LD} -X -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .endif @@ -244,7 +244,7 @@ FFLAGS+= ${FOPTS} .else @echo ${COMPILE.f:Q} ${FPICFLAGS} ${.IMPSRC} -o ${.TARGET} @${COMPILE.f} ${FPICFLAGS} ${.IMPSRC} -o ${.TARGET}.o - @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .endif @@ -257,7 +257,7 @@ FFLAGS+= ${FOPTS} .else @echo ${COMPILE.m:Q} ${.IMPSRC} @${COMPILE.m} ${.IMPSRC} -o ${.TARGET}.o - @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .endif @@ -267,7 +267,7 @@ FFLAGS+= ${FOPTS} .else @echo ${COMPILE.m:Q} -pg ${.IMPSRC} -o ${.TARGET} @${COMPILE.m} -pg ${.IMPSRC} -o ${.TARGET}.o - @${LD} -X -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .endif @@ -277,26 +277,26 @@ FFLAGS+= ${FOPTS} .else @echo ${COMPILE.m:Q} ${CPICFLAGS} ${.IMPSRC} -o ${.TARGET} @${COMPILE.m} ${CPICFLAGS} ${.IMPSRC} -o ${.TARGET}.o - @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .endif .S.o .s.o: @echo ${COMPILE.S:Q} ${CFLAGS:M-[ID]*} ${AINC} ${.IMPSRC} @${COMPILE.S} ${CFLAGS:M-[ID]*} ${AINC} ${.IMPSRC} -o ${.TARGET}.o - @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .S.po .s.po: @echo ${COMPILE.S:Q} -DGPROF -DPROF ${CFLAGS:M-[ID]*} ${AINC} ${.IMPSRC} -o ${.TARGET} @${COMPILE.S} -DGPROF -DPROF ${CFLAGS:M-[ID]*} ${AINC} ${.IMPSRC} -o ${.TARGET}.o - @${LD} -X -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .S.so .s.so: @echo ${COMPILE.S:Q} ${CAPICFLAGS} ${CFLAGS:M-[ID]*} ${AINC} ${.IMPSRC} -o ${.TARGET} @${COMPILE.S} ${CAPICFLAGS} ${CFLAGS:M-[ID]*} ${AINC} ${.IMPSRC} -o ${.TARGET}.o - @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @${LD} -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .if ${MKPIC} == "no" || (defined(LDSTATIC) && ${LDSTATIC} != "") \ @@ -375,14 +375,14 @@ lib${LIB}.so.${SHLIB_FULLVERSION}: ${SOLIB} ${DPADD} \ @echo building shared ${LIB} library \(version ${SHLIB_FULLVERSION}\) @rm -f lib${LIB}.so.${SHLIB_FULLVERSION} .if defined(DESTDIR) - $(LD) -nostdlib -x -shared ${SHLIB_SHFLAGS} -o ${.TARGET} \ + $(LD) -nostdlib -shared ${SHLIB_SHFLAGS} -o ${.TARGET} \ ${SHLIB_LDSTARTFILE} \ --whole-archive ${SOLIB} \ --no-whole-archive ${LDADD} \ -L${DESTDIR}${LIBDIR} -R${LIBDIR} \ ${SHLIB_LDENDFILE} .else - $(LD) -x -shared ${SHLIB_SHFLAGS} -o ${.TARGET} \ + $(LD) -shared ${SHLIB_SHFLAGS} -o ${.TARGET} \ ${SHLIB_LDSTARTFILE} \ --whole-archive ${SOLIB} --no-whole-archive ${LDADD} \ ${SHLIB_LDENDFILE} |