From ef097888c00c5cbeb609c581df013ed23309ee2a Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 14 May 2015 11:22:19 +0200 Subject: [PATCH] xbps-src: get native arch via `xbps-uhelper arch` not `uname -m`. This will detect void hosts running with musl. --- xbps-src | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xbps-src b/xbps-src index c76d079a524..0c3d77cb969 100755 --- a/xbps-src +++ b/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()