abuild: if ABUILD_BOOTSTRAP environment variable is set, do not ever enable check() or checkdepends

This commit is contained in:
William Pitcock 2017-03-21 09:28:34 +00:00
parent 3b61bfb644
commit 834cb718f6

View File

@ -69,6 +69,7 @@ cross_compiling() {
} }
want_check() { want_check() {
[ -n "$ABUILD_BOOTSTRAP" ] && return 1
cross_compiling && return 1 cross_compiling && return 1
options_has "!check" && return 1 options_has "!check" && return 1
return 0 return 0