mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-23 00:08:50 -05:00
makepkg: remove distcc/makeflags option interaction
Way back in c94bfbaba
when refactoring makepkg options handling, I added
these lines to unset MAKEFLAGS if '!distcc' was set in a PKGBUILD (not
taking into account makepkg.conf settings). This was an attempt to say
"if it is broken in distcc, it is probably broken even more". However,
this is silly as one should be using '!makeflags' as well. Remove the
linkage.
Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
54ef162a1a
commit
aa89a65a83
@ -822,9 +822,6 @@ run_build() {
|
||||
if [[ $(check_buildenv distcc) = "y" && $(check_option distcc) != "n" ]]; then
|
||||
[[ -d /usr/lib/distcc/bin ]] && export PATH="/usr/lib/distcc/bin:$PATH"
|
||||
export DISTCC_HOSTS
|
||||
elif [[ $(check_option distcc) = "n" ]]; then
|
||||
# if it is not wanted, clear the makeflags too
|
||||
MAKEFLAGS=""
|
||||
fi
|
||||
|
||||
# use ccache if it is requested (check buildenv and PKGBUILD opts)
|
||||
|
Loading…
Reference in New Issue
Block a user