[Bug 193974] Configuring make.conf with CC, CXX, and CPP overrides doesn't respect WITH_CCACHE_BUILD
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Nov 6 20:06:08 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193974
Bryan Drewery <bdrewery at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bdrewery at FreeBSD.org
--- Comment #1 from Bryan Drewery <bdrewery at 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.
More information about the freebsd-ports-bugs
mailing list