summaryrefslogtreecommitdiff
path: root/extra/wpewebkit/PKGBUILD
blob: 331a931131a88bae1022997e78a4e2f78619bc0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# break cycle with gst-plugins-bad on i486
if [ "$CARCH" = 'i486' ]; then
  makedepends=(${makedepends[@]//gst-plugins-bad/})
fi

# linker runs out of memory on 32-bit
eval "$(
  declare -f build | \
    sed '
      3 i LDFLAGS+=" -Wl,--no-keep-memory"
      3 i CFLAGS+=" -g1"
      3 i CXXFLAGS+=" -g1"
    '
)"  

# libdrm missing on i486?
if [ "$CARCH" = 'i486' ]; then
  depends+=(libdrm)
fi