From 081a784ed03060e3887425670167f1c2806532df Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 11 Apr 2021 16:05:54 +0200 Subject: extra/libde265: disable SSE optimizations on i486 --- extra/libde265/PKGBUILD | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/extra/libde265/PKGBUILD b/extra/libde265/PKGBUILD index fa729da7..9ec3baa1 100644 --- a/extra/libde265/PKGBUILD +++ b/extra/libde265/PKGBUILD @@ -1,3 +1,13 @@ +# no SSE on i486 +if [ "$CARCH" = 'i486' ]; then + eval "$( + declare -f build | \ + sed ' + s@./configure@./configure --disable-sse@ + ' + )" +fi + # break cycle with Qt on i486 if [ "$CARCH" = 'i486' ]; then makedepends=(${makedepends[@]//qt5-base/}) @@ -8,3 +18,4 @@ if [ "$CARCH" = 'i486' ]; then ' )" fi + -- cgit v1.2.3-70-g09d2