Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/libjpeg-turbo/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2023-02-16 17:47:48 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2023-02-16 17:47:48 +0100
commitb6f57f6da2601dfe71f3638d5f85bf752902acf8 (patch)
treebe4326b19744fc8ec9926889d3a9a08026f76648 /extra/libjpeg-turbo/PKGBUILD
parentbf7d478537e662322e8045be5249f383dfe16d4c (diff)
extra/libjpeg-turbo: fixed patching for non-SIMD on i486
Diffstat (limited to 'extra/libjpeg-turbo/PKGBUILD')
-rw-r--r--extra/libjpeg-turbo/PKGBUILD3
1 files changed, 2 insertions, 1 deletions
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