Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/libjpeg-turbo/PKGBUILD
blob: e33bc6868159d0a572c22e59e84abad8f6fb7103 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
if [ "${CARCH}" = "i486" ]; then
  # no Java
  makedepends=(${makedepends[@]//jdk8-openjdk/})
  eval "$(
    declare -f build | \
      sed '
        s/-DWITH_JAVA=1/-DWITH_JAVA=0/
      '
  )"

  # no SIMD optimizations
  eval "$(
    declare -f build | \
      sed '
        s/cmake/cmake -DWITH_SIMD=0/
      '
  )"
fi