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
|
||||
export XBPS_ARCH=$(xbps-uhelper arch)
|
||||
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
|
||||
LDD=$(ldd --version 2>&1|head -1)
|
||||
if [[ $LDD == *musl* ]]; then
|
||||
|
|
Loading…
Reference in New Issue