xbps-src: get native arch via xbps-uhelper arch
not uname -m
.
This will detect void hosts running with musl.
This commit is contained in:
parent
cb45c7cee4
commit
ef097888c0
1 changed files with 1 additions and 1 deletions
2
xbps-src
2
xbps-src
|
@ -343,7 +343,7 @@ read_pkg() {
|
|||
readonly XBPS_VERSION_REQ="0.44"
|
||||
readonly XBPS_VERSION=$(xbps-uhelper -V|awk '{print $2}')
|
||||
readonly XBPS_SRC_VERSION="113"
|
||||
export XBPS_MACHINE=$(uname -m)
|
||||
export XBPS_MACHINE=$(xbps-uhelper arch)
|
||||
|
||||
#
|
||||
# main()
|
||||
|
|
Loading…
Reference in a new issue