Date: Thu, 19 Jun 2008 21:42:53 +0400 From: Andrey Chernov <ache@nagual.pp.ru> To: Ed Schouten <ed@80386.nl> Cc: current@freebsd.org Subject: Re: ${NORMAL_CTFCONVERT} expands to empty string ??? Message-ID: <20080619174253.GA2963@nagual.pp.ru> In-Reply-To: <20080619172506.GN93496@hoeg.nl> References: <20080619131345.GA27913@nagual.pp.ru> <20080619131852.GK93496@hoeg.nl> <20080619132906.GA28251@nagual.pp.ru> <20080619172506.GN93496@hoeg.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
--gKMricLos+KVdGMg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 19, 2008 at 07:25:06PM +0200, Ed Schouten wrote: > Hello Andrey, >=20 > * Andrey Chernov <ache@nagual.pp.ru> wrote: > > Just expand this to "@true" when not needed. >=20 > 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=20 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=20 intermediate pseudo-suffix) and specify .if defined() there only once. --=20 http://ache.pp.ru/ --gKMricLos+KVdGMg Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkhampwACgkQVg5YK5ZEdN2jdwCfXLHuH0Z0xuJr9qn81hNoFqSi rpAAn0bQyPmw6I8v5+HR7aNWDoEY48od =Q4El -----END PGP SIGNATURE----- --gKMricLos+KVdGMg--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080619174253.GA2963>