Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Apr 2002 16:48:01 -0800
From:      Peter Wemm <peter@wemm.org>
To:        Alexander Leidinger <Alexander@Leidinger.net>
Cc:        current@FreeBSD.ORG
Subject:   Re: kern.pre.mk, bug or intended? 
Message-ID:  <20020403004801.E734E390B@overcee.wemm.org>
In-Reply-To: <200204021633.g32GX94D025300@Magelan.Leidinger.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
Alexander Leidinger wrote:
> Hi,
> 
> kern.pre.mk contains
>   NORMAL_C= ${CC} -c ${CFLAGS} ${WERROR} ${PROF} ${.IMPSRC}
>   PROFILE_C= ${CC} -c ${CFLAGS} ${WERROR} ${.IMPSRC}
>   NORMAL_C_NOWERROR= ${CC} -c ${CFLAGS} ${PROF} ${.IMPSRC}
> shouldn't this be
>   NORMAL_C= ${CC} -c ${CFLAGS} ${WERROR} ${.IMPSRC}
>   PROFILE_C= ${CC} -c ${CFLAGS} ${PROF} ${WERROR} ${.IMPSRC}
>   NORMAL_C_NOWERROR= ${CC} -c ${CFLAGS} ${.IMPSRC}
> ?

nope.  PROFILE_C is for compiling the profiling support code itself.
If it was compiled with ${PROF} then it would be generated with recursive
calls to itself.

Cheers,
-Peter
--
Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com
"All of this is for nothing if we don't go to the stars" - JMS/B5


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020403004801.E734E390B>