Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Nov 2015 20:06:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 193974] Configuring make.conf with CC, CXX, and CPP overrides doesn't respect WITH_CCACHE_BUILD
Message-ID:  <bug-193974-13-C1WC1CWRL8@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-193974-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-193974-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193974

Bryan Drewery <bdrewery@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bdrewery@FreeBSD.org

--- Comment #1 from Bryan Drewery <bdrewery@FreeBSD.org> ---
The WITH_CCACHE_BUILD prepends PATH to /usr/local/libexec/ccache/ to use
ccache. This allows using the symlinks in there to use the desired compiler. We
don't modify CC, such as CC="/usr/local/bin/ccache /usr/local/bin/clang35",
because many ports refuse to work with the embedded space.

You can make this work by enabling the CLANGLINK option in devel/ccache and
using:
CC= clang35
CXX=clang++35
CPP=clang-cpp35
CCACHE_PATH= /usr/local/bin
.export CCACHE_PATH # Export only works with FreeBSD 10+

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-193974-13-C1WC1CWRL8>