xbps-src: fix repocache for binary-bootstrap
This commit is contained in:
parent
6f968ced14
commit
4e33085570
5
xbps-src
5
xbps-src
|
@ -290,6 +290,11 @@ check_native_arch() {
|
||||||
else
|
else
|
||||||
export XBPS_ARCH=$(xbps-uhelper arch)
|
export XBPS_ARCH=$(xbps-uhelper arch)
|
||||||
fi
|
fi
|
||||||
|
elif [ "$XBPS_TARGET" = 'binary-bootstrap' ] && [ "$XBPS_TARGET_PKG" ]; then
|
||||||
|
# ^ special case for binary-bootstrap for e.g:
|
||||||
|
# x86_64 -> x86_64-musl
|
||||||
|
# x86_64 -> i686
|
||||||
|
export XBPS_ARCH=$XBPS_TARGET_PKG
|
||||||
else
|
else
|
||||||
LDD=$(ldd --version 2>&1|head -1)
|
LDD=$(ldd --version 2>&1|head -1)
|
||||||
if [[ $LDD == *musl* ]]; then
|
if [[ $LDD == *musl* ]]; then
|
||||||
|
|
Loading…
Reference in New Issue