diff options
author | bde <bde@FreeBSD.org> | 1997-04-23 10:26:18 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1997-04-23 10:26:18 +0000 |
commit | d164e41abb4961bc6445fa638bf014f190daede1 (patch) | |
tree | 7a4a0c358eaa7fffef8c47b34d21b6607c203212 | |
parent | 3f969c2fa3e99425c83504d3d3afe9cc5062f213 (diff) | |
download | FreeBSD-src-d164e41abb4961bc6445fa638bf014f190daede1.zip FreeBSD-src-d164e41abb4961bc6445fa638bf014f190daede1.tar.gz |
Fixed missing strip step in .S.o and .S.po rules.
Fixed back to front -X and -x strip flags in .m.o and .m.po rules.
Fixed disordered .m.o and .m.po rules. What is .m?
Stripping probably should be removed. It makes problems in library
functions hard to debug...
-rw-r--r-- | share/mk/bsd.lib.mk | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk index 2d30ee7..25e102e 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.52 1997/04/09 20:31:15 jdp Exp $ +# $Id: bsd.lib.mk,v 1.53 1997/04/13 06:44:23 jkh Exp $ # .if exists(${.CURDIR}/../Makefile.inc) @@ -86,20 +86,22 @@ STRIP?= -s .S.o: ${CC} ${CFLAGS:M-[ID]*} ${AINC} -c ${.IMPSRC} -o ${.TARGET} + @${LD} -O ${.TARGET} -x -r ${.TARGET} .S.po: ${CC} -DPROF ${CFLAGS:M-[ID]*} ${AINC} -c ${.IMPSRC} -o ${.TARGET} + @${LD} -O ${.TARGET} -X -r ${.TARGET} .S.so: ${CC} -fpic -DPIC ${CFLAGS:M-[ID]*} ${AINC} -c ${.IMPSRC} -o ${.TARGET} @${LD} -O ${.TARGET} -x -r ${.TARGET} -.m.po: - ${CC} ${CFLAGS} -fgnu-runtime -pg -c ${.IMPSRC} -o ${.TARGET} - @${LD} -O ${.TARGET} -X -r ${.TARGET} - .m.o: ${CC} ${CFLAGS} -fgnu-runtime -c ${.IMPSRC} -o ${.TARGET} + @${LD} -O ${.TARGET} -x -r ${.TARGET} + +.m.po: + ${CC} ${CFLAGS} -fgnu-runtime -pg -c ${.IMPSRC} -o ${.TARGET} @${LD} -O ${.TARGET} -X -r ${.TARGET} .if !defined(INTERNALLIB) || defined(INTERNALSTATICLIB) |