Typo in bsd.lib.mk?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Typo in bsd.lib.mk?

Hannah Schroeter
Hello!

In bsd.lib.mk, r1.50, there's this:

.cc.po .C.po .cxx.po:
       @echo "${COMPILE.cc} $-p ${.IMPSRC} -o ${.TARGET}"
       @${COMPILE.cc} -p ${.IMPSRC} -o ${.TARGET}.o
       @${LD} -X -r ${.TARGET}.o -o ${.TARGET}
       @rm -f ${.TARGET}.o

In the second line of this chunk, I see "$-p", isn't this "$" too
much?

Kind regards,

Hannah.

PS: Wouldn't -pg be better than -p for the profiled build? We have
gprof, but no prof in the tree, if I see things right.