Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/libjpeg-turbo/PKGBUILD
blob: e34411bb5136492eb8176f9cb5bb24674f9fcb06 (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
if [ "${CARCH}" = "i486" ]; then
  # no SIMD optimizations
  eval "$(
    declare -f build | \
      sed '
        /local cmake_options/ a \
          cmake_options+=(-DWITH_SIMD=0)
      '
  )"

  # ctest ist broken on libexpat
  unset check

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