1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- Allow WITH_CCACHE_BUILD to work with boost.

This speeds up building from 35 minutes to 5 minutes.

  If you are building boost with ccache by changing CC="ccache cc",
  change to using WITH_CCACHE_BUILD=yes in make.conf. This will
  automatically handle installing and using ccache for port building,
  while avoiding build breakages.

Reported by:	Samu Nuutamo
Discussed with:	bapt (who marked it unsafe)
This commit is contained in:
Bryan Drewery 2013-11-13 16:07:59 +00:00
parent fe3d08c08c
commit eea36177a7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=333706

View File

@ -20,7 +20,6 @@ BJAM_ARGS+= cxxflags=-fPIC
# of gcc/g++):
BJAM_ARGS+= cxxflags="${CXXFLAGS:N-O*}" cflags="${CFLAGS:N-O*}"
NO_CCACHE= yes
.if ${CC:T:Mgcc*}
BOOST_TOOLSET:= gcc
.elif ${CC:T:Mclang}