pacman/scripts/libmakepkg/buildenv
Matti Niemenmaa 9e425cd1ea 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>
2021-02-08 14:24:49 +10:00
..
buildflags.sh.in build-aux/update-copyright 2019 2020 2020-02-10 10:46:03 +10:00
compiler.sh.in makepkg: Don't double-layer distcc on ccache 2021-02-08 14:24:49 +10:00
debugflags.sh.in build-aux/update-copyright 2019 2020 2020-02-10 10:46:03 +10:00
makeflags.sh.in build-aux/update-copyright 2019 2020 2020-02-10 10:46:03 +10:00
meson.build Split prepare_buildenv() to libmakepkg 2018-11-27 22:48:43 +10:00