community/seamonkey fix

This commit is contained in:
Kevin Mihelich 2016-12-23 16:55:59 +00:00
parent f6e3de376b
commit 4fe84f0383

View file

@ -51,9 +51,7 @@ prepare() {
# 2.26 build fix from wgnie (blfs ch 37)
sed -i 's/$(MOZ_ZLIB_CFLAGS)/& $(MOZ_PIXMAN_CFLAGS)/' config/config.mk
[[ $CARCH != "aarch64" ]] && echo "ac_add_options --disable-ion" >> .mozconfig \
&& echo "ac_add_options --disable-elf-hack" >> .mozconfig \
&& echo "ac_add_options --disable-neon" >> .mozconfig
[[ $CARCH != "aarch64" ]] && echo "ac_add_options --disable-elf-hack" >> .mozconfig
LDFLAGS+=" -Wl,--no-keep-memory -Wl,--reduce-memory-overheads"
patch -p2 -d mozilla -i "${srcdir}"/xulrunner-27.0-build-arm.patch
}