From 9f709a9e5992b03bdef7ea66442ea420ee3a164b Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sat, 4 May 2019 17:58:11 +0000 Subject: extra/qt5-base: no sse2 for i486/i686, but sse2 for pentium4 --- extra/qt5-base/PKGBUILD | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'extra/qt5-base') diff --git a/extra/qt5-base/PKGBUILD b/extra/qt5-base/PKGBUILD index 4507cf9e..8b08f917 100644 --- a/extra/qt5-base/PKGBUILD +++ b/extra/qt5-base/PKGBUILD @@ -1,9 +1,11 @@ -eval "$( - declare -f build | \ - sed ' - s@./configure@./configure -no-sse2@g - ' -)" +if [ "$CARCH" = 'i486' -o "$CARCH" = 'i686' ]; then + eval "$( + declare -f build | \ + sed ' + s@./configure@./configure -no-sse2@g + ' + )" +fi makedepends=(${makedepends[@]/vulkan-headers/}) makedepends_i686+=(vulkan-headers) -- cgit v1.2.3-70-g09d2