Date: Sun, 22 Jun 2008 03:01:38 +0400 From: Ruslan Ermilov <ru@freebsd.org> To: Andrey Chernov <ache@nagual.pp.ru>, Ed Schouten <ed@80386.nl>, current@freebsd.org Subject: Re: ${NORMAL_CTFCONVERT} expands to empty string ??? Message-ID: <20080621230138.GB21194@team.vega.ru> In-Reply-To: <20080619174253.GA2963@nagual.pp.ru> References: <20080619131345.GA27913@nagual.pp.ru> <20080619131852.GK93496@hoeg.nl> <20080619132906.GA28251@nagual.pp.ru> <20080619172506.GN93496@hoeg.nl> <20080619174253.GA2963@nagual.pp.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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. > To make it more obvious, one can s/true/:/ Cheers, -- Ruslan Ermilov ru@FreeBSD.org FreeBSD committer
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080621230138.GB21194>