diff --git a/mingw-w64-orcus/PKGBUILD b/mingw-w64-orcus/PKGBUILD index b1ae9d9414..b43b67fa2d 100644 --- a/mingw-w64-orcus/PKGBUILD +++ b/mingw-w64-orcus/PKGBUILD @@ -4,7 +4,7 @@ _realname=orcus pkgbase=mingw-w64-${_realname} pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}") pkgver=0.19.2 -pkgrel=1 +pkgrel=2 pkgdesc="Standalone file import filter library for spreadsheet documents (ODS, XLSX and CSV). (mingw-w64)" arch=('any') mingw_arch=('ucrt64' 'clang64' 'clangarm64') @@ -50,9 +50,12 @@ build() { _extra_config+=("--disable-spreadsheet-model" "--disable-python") fi + if [[ ${CARCH} == x86_64 ]]; then + _extra_config+=("--with-cpu-features") + fi + ../${_realname}-${pkgver}/configure \ --prefix=${MINGW_PREFIX} \ - --with-cpu-features \ --without-benchmark \ "${_extra_config[@]}"