diff --git a/srcpkgs/gnu-efi-libs/template b/srcpkgs/gnu-efi-libs/template index bab8580fe9a..0cb59b461fd 100644 --- a/srcpkgs/gnu-efi-libs/template +++ b/srcpkgs/gnu-efi-libs/template @@ -27,7 +27,7 @@ do_install() { esac vmkdir usr/share/gnu-efi/apps/${_EFI_ARCH} - if [ "$XBPS_MACHINE" = "i686" ]; then + if [ "${XBPS_MACHINE%-musl}" = "i686" ]; then HOST_ARCH="ia32" else HOST_ARCH="${XBPS_MACHINE/-musl//}"