Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/libjpeg-turbo/PKGBUILD
blob: ad9cdef4696319c9570708ebc18de23ff1967a71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
if [ "${CARCH}" = "i486" ]; then
  # no SIMD optimizations
  eval "$(
    declare -f build | \
      sed '
        /local cmake_options/ a \
          cmake_options+=(-DWITH_SIMD=0)
      '
  )"

  # Java broken on i486 temporarily
  makedepends=(${makedepends[@]//java-environment>11/})
  eval "$(
    declare -f build | \
      sed '
        /local cmake_options/ a \
          cmake_options+=(-DWITH_JAVA=0)
      '
  )"
fi