diff options
author | nate <nate@FreeBSD.org> | 1995-03-28 17:54:11 +0000 |
---|---|---|
committer | nate <nate@FreeBSD.org> | 1995-03-28 17:54:11 +0000 |
commit | 4405cff2a7354f57014c4cf9b1dc8d1d1d8aec1c (patch) | |
tree | da6eb560e89fee7073421d33656d9c7770e61035 /share/mk/bsd.lib.mk | |
parent | 8974e853cd221385cdca3d2e3802f2cd27b6a5d9 (diff) | |
download | FreeBSD-src-4405cff2a7354f57014c4cf9b1dc8d1d1d8aec1c.zip FreeBSD-src-4405cff2a7354f57014c4cf9b1dc8d1d1d8aec1c.tar.gz |
Do what should have been done in v1.14
*Really* strip out unused local symbols from shared objects.
This was a typo on my part caused by an assumption that the profiled
libraries stripped symbols that same way as the non-profiled libraries.
Cut-n-Paste strikes again.
Obtained from: NetBSD
Diffstat (limited to 'share/mk/bsd.lib.mk')
-rw-r--r-- | share/mk/bsd.lib.mk | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk index db356d2..85c307c 100644 --- a/share/mk/bsd.lib.mk +++ b/share/mk/bsd.lib.mk @@ -1,5 +1,5 @@ # from: @(#)bsd.lib.mk 5.26 (Berkeley) 5/2/91 -# $Id: bsd.lib.mk,v 1.22 1995/02/08 21:35:28 bde Exp $ +# $Id: bsd.lib.mk,v 1.23 1995/02/25 20:51:12 phk Exp $ # .if exists(${.CURDIR}/../Makefile.inc) @@ -56,7 +56,7 @@ BINMODE?= 555 .c.so: ${CC} ${PICFLAG} -DPIC ${CFLAGS} -c ${.IMPSRC} -o ${.TARGET} - @${LD} -X -r ${.TARGET} + @${LD} -x -r ${.TARGET} @mv a.out ${.TARGET} .cc.o .cxx.o .C.o: @@ -71,7 +71,7 @@ BINMODE?= 555 .cc.so .C.so: ${CXX} ${PICFLAG} -DPIC ${CXXFLAGS} -c ${.IMPSRC} -o ${.TARGET} - @${LD} -X -r ${.TARGET} + @${LD} -x -r ${.TARGET} @mv a.out ${.TARGET} .f.o: @@ -86,7 +86,7 @@ BINMODE?= 555 .f.so: ${FC} ${PICFLAG} -DPIC ${FFLAGS} -o ${.TARGET} -c ${.IMPSRC} - @${LD} -X -r ${.TARGET} + @${LD} -x -r ${.TARGET} @mv a.out ${.TARGET} .s.o: @@ -104,7 +104,7 @@ BINMODE?= 555 .s.so: ${CPP} -E -DPIC ${CFLAGS:M-[ID]*} ${AINC} ${.IMPSRC} | \ ${AS} -k -o ${.TARGET} - @${LD} -X -r ${.TARGET} + @${LD} -x -r ${.TARGET} @mv a.out ${.TARGET} .S.o: @@ -118,7 +118,7 @@ BINMODE?= 555 .S.so: ${CPP} -E -DPIC ${CFLAGS:M-[ID]*} ${AINC} ${.IMPSRC} | \ ${AS} -k -o ${.TARGET} - @${LD} -X -r ${.TARGET} + @${LD} -x -r ${.TARGET} @mv a.out ${.TARGET} .m.po: |