Re: ${NORMAL_CTFCONVERT} expands to empty string ???

From: Ruslan Ermilov <ru_at_freebsd.org>
Date: Sun, 22 Jun 2008 03:01:38 +0400
On Thu, Jun 19, 2008 at 09:42:53PM +0400, Andrey Chernov wrote:
> On Thu, Jun 19, 2008 at 07:25:06PM +0200, Ed Schouten wrote:
> > Hello Andrey,
> > 
> > * Andrey Chernov <ache_at_nagual.pp.ru> wrote:
> > > Just expand this to "_at_true" when not needed.
> > 
> > But this wouldn't be any better, right? We'd still spawn a utility each
> > time we compile a unit.
> 
> 'true' is internal shell function, so only shell is called. If full path 
> will be specified as /usr/bin/true, make calls it directly without shell.
> /usr/bin/true is much smaller but still one process will be created.
> 
> Another variant is to create suffix rule for all such cases (using some 
> intermediate pseudo-suffix) and specify .if defined() there only once.
> 
To make it more obvious, one can s/true/:/


Cheers,
-- 
Ruslan Ermilov
ru_at_FreeBSD.org
FreeBSD committer
Received on Sat Jun 21 2008 - 21:02:12 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:32 UTC