blob: 6473b99364ca16deb17279ddc25a8f9faec8d028 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# the gold linker simply allocates too much memory via mmap, cannot
# possibly word for libxul.so on 32-bit
eval "$(
declare -f prepare | \
sed '
s/ac_add_options --enable-gold/ac_add_options --disable-gold/g
'
)"
eval "$(
declare -f build | \
sed '
/CPPFLAGS/ a LDFLAGS+="-Wl,--no-keep-memory"
'
)"
|