diff options
author | jdp <jdp@FreeBSD.org> | 1997-04-09 20:31:15 +0000 |
---|---|---|
committer | jdp <jdp@FreeBSD.org> | 1997-04-09 20:31:15 +0000 |
commit | d49945b5213f1d5fbb82813f5496caa79a563aa0 (patch) | |
tree | 5e120f05f8845ec97c999f0886d7a3b0d4935652 | |
parent | 544a6e857455d0b09d05bc091430bf74574b5d19 (diff) | |
download | FreeBSD-src-d49945b5213f1d5fbb82813f5496caa79a563aa0.zip FreeBSD-src-d49945b5213f1d5fbb82813f5496caa79a563aa0.tar.gz |
Use "-pg" instead of "-p" for generating profiled object files.
The two options differ only when linking, but "-p" is incorrect
because it is associated with the old-style "prof" command, which we
do not support.
-rw-r--r-- | share/mk/bsd.lib.mk | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk index 66245fb..c688efd 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.50 1997/02/22 13:56:11 peter Exp $ +# $Id: bsd.lib.mk,v 1.51 1997/04/09 16:10:24 bde Exp $ # .if exists(${.CURDIR}/../Makefile.inc) @@ -38,7 +38,7 @@ STRIP?= -s @${LD} -O ${.TARGET} -x -r ${.TARGET} .c.po: - ${CC} -p ${CFLAGS} -c ${.IMPSRC} -o ${.TARGET} + ${CC} -pg ${CFLAGS} -c ${.IMPSRC} -o ${.TARGET} @${LD} -O ${.TARGET} -X -r ${.TARGET} .c.so: @@ -50,7 +50,7 @@ STRIP?= -s @${LD} -O ${.TARGET} -x -r ${.TARGET} .cc.po .C.po .cxx.po: - ${CXX} -p ${CXXFLAGS} -c ${.IMPSRC} -o ${.TARGET} + ${CXX} -pg ${CXXFLAGS} -c ${.IMPSRC} -o ${.TARGET} @${LD} -O ${.TARGET} -X -r ${.TARGET} .cc.so .C.so .cxx.so: @@ -62,7 +62,7 @@ STRIP?= -s @${LD} -O ${.TARGET} -x -r ${.TARGET} .f.po: - ${FC} -p ${FFLAGS} -o ${.TARGET} -c ${.IMPSRC} + ${FC} -pg ${FFLAGS} -o ${.TARGET} -c ${.IMPSRC} @${LD} -O ${.TARGET} -X -r ${.TARGET} .f.so: @@ -95,7 +95,7 @@ STRIP?= -s @${LD} -O ${.TARGET} -x -r ${.TARGET} .m.po: - ${CC} ${CFLAGS} -fgnu-runtime -p -c ${.IMPSRC} -o ${.TARGET} + ${CC} ${CFLAGS} -fgnu-runtime -pg -c ${.IMPSRC} -o ${.TARGET} @${LD} -O ${.TARGET} -X -r ${.TARGET} .m.o: |