# 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