diff options
author | Matti Niemenmaa <matti.niemenmaa+git@iki.fi> | 2021-01-30 18:46:40 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2021-02-08 05:24:49 +0100 |
commit | 9e425cd1ea4a5fe7e7d7f1daa225eed37650dafc (patch) | |
tree | 63c3519fa7dbb53f0997b06c3d4c724fdd015fab /scripts/libmakepkg/source.sh.in | |
parent | 2b8d00b7993435a8dc6f560b508a33050830ceec (diff) | |
download | pacman-9e425cd1ea4a5fe7e7d7f1daa225eed37650dafc.tar.gz pacman-9e425cd1ea4a5fe7e7d7f1daa225eed37650dafc.tar.xz |
makepkg: Don't double-layer distcc on ccache
buildenv is set once for build() and a second time for package(). When
using both distcc and ccache, this lead to CCACHE_PREFIX="distcc distcc"
in package(), which breaks PKGBUILDs that execute the compiler in
package() because distcc complains:
distcc[383041] (main) CRITICAL! distcc seems to have invoked itself
recursively!
Avoid causing this error by only adding "distcc" to CCACHE_PREFIX if
it's not yet there.
Signed-off-by: Matti Niemenmaa <matti.niemenmaa+git@iki.fi>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts/libmakepkg/source.sh.in')
0 files changed, 0 insertions, 0 deletions