Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/sdl2/PKGBUILD
blob: 2632d679d0c468bf6811dca9c3de735a53963bfa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# patch per architecture
if [ "$CARCH" = 'i486' ]; then
  eval "$(
    declare -f build | \
      sed '
        s/cmake /cmake -DSSEMATH=OFF -DMMX=OFF -D3DNOW=OFF -DSSE=OFF -DSSE2=OFF -DSSE3=OFF /
      '
  )"
fi
if [ "$CARCH" = 'i686' ]; then
  eval "$(
    declare -f build | \
      sed '
        s/cmake /cmake -DSSEMATH=ON -DMMX=ON -DSSE=ON /
      '
  )"
fi
if [ "$CARCH" = 'pentium4' ]; then
  eval "$(
    declare -f build | \
      sed '
        s/cmake /cmake -DSSEMATH=ON -DMMX=ON -DSSE=ON -DSSE2=ON /
      '
  )"
fi