${NORMAL_CTFCONVERT} expands to empty string ???

Andrey Chernov ache at nagual.pp.ru
Thu Jun 19 17:43:15 UTC 2008


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 "@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.

-- 
http://ache.pp.ru/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20080619/45872d39/attachment.pgp


More information about the freebsd-current mailing list