Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/graphene/PKGBUILD
blob: 692e4c8e28bad01a2a1fd31bc463c61691a55df1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# enable SSE2 optimizations only on pentium4
if [ "$CARCH" = 'i486' -o "$CARCH" = 'i686' ]; then
  eval "$(
    declare -f build | \
      sed '
        s/arch-meson/arch-meson -D sse2=false/
      '
  )"
fi
if [ "$CARCH" = 'pentium4' ]; then
  eval "$(
    declare -f build | \
      sed '
        s/arch-meson/arch-meson -D sse2=true/
      '
  )"
fi