From 43a37145396ece9543f59c99d2201ae292974af7 Mon Sep 17 00:00:00 2001 From: jtc Date: Sat, 30 Nov 1996 02:18:54 +0000 Subject: [PATCH] Define GPROF when assembling *.S files --- share/mk/bsd.lib.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk index 2b62ca0be4b7..c1b72ac044f9 100644 --- a/share/mk/bsd.lib.mk +++ b/share/mk/bsd.lib.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.lib.mk,v 1.74 1996/11/05 05:40:28 mikel Exp $ +# $NetBSD: bsd.lib.mk,v 1.75 1996/11/30 02:18:54 jtc Exp $ # @(#)bsd.lib.mk 5.26 (Berkeley) 5/2/91 .if exists(${.CURDIR}/../Makefile.inc) @@ -65,8 +65,8 @@ SHLIB_MINOR != . ${.CURDIR}/shlib_version ; echo $$minor @rm -f ${.TARGET}.o .S.po .s.po: - @echo "${COMPILE.S} -DPROF ${CFLAGS:M-[ID]*} ${AINC} ${.IMPSRC} -o ${.TARGET}" - @${COMPILE.S} -DPROF ${CFLAGS:M-[ID]*} ${AINC} ${.IMPSRC} -o ${.TARGET}.o + @echo "${COMPILE.S} -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} @rm -f ${.TARGET}.o