Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/babl/PKGBUILD
blob: f7ae127c5577f70f258f19a79a32878a79335c52 (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# disable SSE4, AVX2, f16c on 486, 686, pentium4
eval "$(
  declare -f build | \
    sed '
      s/arch-meson /arch-meson -Denable-sse4_1=false -Denable=avx2=false -Denable-f16c=false /g
    '
)"	

# disable SSE2 on 486 and 686
if [ "$CARCH" = 'i686' -o "$CARCH" = 'i486' ]; then
  eval "$(
    declare -f build | \
      sed '
        s/arch-meson /arch-meson -Denable-sse2=false /g
      '
  )"	
fi

# disable all SIMD optimizations on 486
if [ "$CARCH" = 'i486' ]; then
  eval "$(
    declare -f build | \
      sed '
        s/arch-meson /arch-meson -Denable-sse=false /g
      '
  )"	
fi

# workaround for FS#71143
makedepends+=(openssh)

# documentation build fails
eval "$(
  declare -f build | \
    sed '
      s/arch-meson /arch-meson -Dwith-docs=false /g
    '
)"