Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-02-04 09:25:10 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2022-02-04 09:25:10 +0100
commit4920288d3ca56676f0e28e14f7fb8fd3eedac339 (patch)
tree32fbe634bd97bf14185077e923436f66cdbb5136
parentad4b19a687e729886e03c7a0910fc73c57070115 (diff)
extra/sdl2: only replace options in first cmake call
-rw-r--r--extra/sdl2/PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/extra/sdl2/PKGBUILD b/extra/sdl2/PKGBUILD
index 2632d679..3eeb30b7 100644
--- a/extra/sdl2/PKGBUILD
+++ b/extra/sdl2/PKGBUILD
@@ -3,7 +3,7 @@ if [ "$CARCH" = 'i486' ]; then
eval "$(
declare -f build | \
sed '
- s/cmake /cmake -DSSEMATH=OFF -DMMX=OFF -D3DNOW=OFF -DSSE=OFF -DSSE2=OFF -DSSE3=OFF /
+ 0,/cmake/s/cmake /cmake -DSSEMATH=OFF -DMMX=OFF -D3DNOW=OFF -DSSE=OFF -DSSE2=OFF -DSSE3=OFF /
'
)"
fi
@@ -11,7 +11,7 @@ if [ "$CARCH" = 'i686' ]; then
eval "$(
declare -f build | \
sed '
- s/cmake /cmake -DSSEMATH=ON -DMMX=ON -DSSE=ON /
+ 0,/cmake/s/cmake /cmake -DSSEMATH=ON -DMMX=ON -DSSE=ON /
'
)"
fi
@@ -19,7 +19,7 @@ if [ "$CARCH" = 'pentium4' ]; then
eval "$(
declare -f build | \
sed '
- s/cmake /cmake -DSSEMATH=ON -DMMX=ON -DSSE=ON -DSSE2=ON /
+ 0,/cmake/s/cmake /cmake -DSSEMATH=ON -DMMX=ON -DSSE=ON -DSSE2=ON /
'
)"
fi