From 4920288d3ca56676f0e28e14f7fb8fd3eedac339 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 4 Feb 2022 09:25:10 +0100 Subject: extra/sdl2: only replace options in first cmake call --- extra/sdl2/PKGBUILD | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'extra/sdl2') 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 -- cgit v1.2.3-70-g09d2