summaryrefslogtreecommitdiff
path: root/extra/thunderbird/PKGBUILD
blob: 8ee506d20eec12e029dc3640793c7722a5289439 (plain)
1
2
3
4
5
6
7
8
9
10
eval "$(
  declare -f build | \
    sed '
      /cd mozilla-unified/a sed -i "s/\\(cargo_rustc_flags += -C lto\\)/#\\1/" config/rules.mk
    '
  declare -f prepare | \
    sed '
      $ i LDFLAGS+=" -Wl,--no-keep-memory -Wl,--reduce-memory-overheads"
    '
)"