blob: 108fd67c98d7a5312100eec817c5dd3fcdb4390b (
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-linker=gold/--enable-linker=bfd/g
'
)"
eval "$(
declare -f build | \
sed '
/CPPFLAGS/ a LDFLAGS+="-Wl,--no-keep-memory -fuse=ld=bfd"
'
)"
|