From b6f57f6da2601dfe71f3638d5f85bf752902acf8 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 16 Feb 2023 17:47:48 +0100 Subject: extra/libjpeg-turbo: fixed patching for non-SIMD on i486 --- extra/libjpeg-turbo/PKGBUILD | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extra/libjpeg-turbo/PKGBUILD b/extra/libjpeg-turbo/PKGBUILD index 025b79f1..717e9506 100644 --- a/extra/libjpeg-turbo/PKGBUILD +++ b/extra/libjpeg-turbo/PKGBUILD @@ -3,7 +3,8 @@ if [ "${CARCH}" = "i486" ]; then eval "$( declare -f build | \ sed ' - 0,/cmake/s/cmake/cmake -DWITH_SIMD=0/ + /local cmake_options/ a \ + cmake_options+=(-DWITH_SIMD=0) ' )" fi -- cgit v1.2.3-70-g09d2