On Mon, 04 Oct 2010 at 13:49:10 +0600, Andrey Rahmatullin wrote:
> Hello. I use git-buildpackage and want to use ccache. I tried exporting
> overriden CC and PATH, but that had no effect and `echo' in debian/rules
> shows that both variables are reverted to the defaults. Does
> git-buildpackage clear the environment? How can I use ccache in this
> configuration?

I believe git-buildpackage calls debuild, which itself clears the environment.
debuild is controlled by ~/.devscripts, in which I have, among other things:

    DEBUILD_PREPEND_PATH=/usr/lib/ccache
    DEBUILD_PRESERVE_ENVVARS=CCACHE_DIR

  S


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20101004112806.gc30...@reptile.pseudorandom.co.uk

Reply via email to