summaryrefslogtreecommitdiff
path: root/extra/qt5-webkit/PKGBUILD
blob: bf7c1225e151913ef7d22e6f19ae4efadf3cba30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# gold linker runs out of memory on 32-bit
eval "$(
  declare -f build | \
    sed '
      s/cmake -B build/cmake -B build -DUSE_LD_GOLD=OFF /
    '
  declare -f build | \
    sed '
      3 i LDFLAGS+=" -Wl,--no-keep-memory"
      3 i CFLAGS+=" -g1"
      3 i CXXFLAGS+=" -g1"
    '
)"