severity 578303 wishlist
retitle 578303 would be nice if CC could hold part of commandline
tags 578303 wontfix
thanks

On Sun, Apr 18, 2010 at 09:39:12PM +0300, Peter Eisentraut wrote:

Followup to #576967, here is a valid example of a multiword CC

CC='ccache gcc'

That's abuse of the CC variable. Only if treated as part of a command line (as opposed to a single command) will it work.

The CC variable is not supposed to hold a part of a commandline, but a single command.


As is documented in its man page, when ccache is used in an environment too large to compose the commandline by hand, use the alternative approach of symlinked commands instead of appending ccache in front of the actual compiler name.


Kind regards,

- Jonas

--
* Jonas Smedegaard - idealist & Internet-arkitekt
* Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: Digital signature

Reply via email to