From 47f5b4ad57608951431b788ec74e90e1df955f46 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sat, 2 Apr 2022 11:32:07 +0200 Subject: extra/opencolorio: some SSE patching for i686/i486 --- extra/flac/PKGBUILD | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'extra/flac') diff --git a/extra/flac/PKGBUILD b/extra/flac/PKGBUILD index 76e5bdc2..c266c030 100644 --- a/extra/flac/PKGBUILD +++ b/extra/flac/PKGBUILD @@ -15,9 +15,11 @@ eval "$( )" # disable SSE on i686 and i486 -eval "$( - declare -f build | \ - sed ' - s/cmake -S/cmake -DWITH_SSE=OFF -S/ - ' -)" +if [ "$CARCH" = 'i686' -o "$CARCH" = 'i486' ]; then + eval "$( + declare -f build | \ + sed ' + s/cmake -S/cmake -DWITH_SSE=OFF -S/ + ' + )" +fi -- cgit v1.2.3-70-g09d2