blob: 33e3f3009bce4fe1b8a93f5afdb7ed31aaf6c5c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
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/
'
)"
|