Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/thunderbird/PKGBUILD
blob: 590b3205c340983f4f09de45763eec35dd5a94c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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"
      s/ac_add_options --enable-linker=gold/ac_add_options --enable-linker=bfd/
    '
)"

# use binary rust-bin instead of rust (till we can bootstrap rust on IA-32)
makedepends=(${makedepends[@]//rust/})
makedepends+=('rust-bin')