firefox-esr: use nodebug based on wordsize, also broken on ppc32
This commit is contained in:
parent
f737d40239
commit
92c67bf51d
1 changed files with 8 additions and 9 deletions
|
@ -30,17 +30,18 @@ conflicts="firefox>=0"
|
|||
build_options="alsa dbus gtk3 pulseaudio startup_notification xscreensaver sndio"
|
||||
build_options_default="alsa dbus gtk3 pulseaudio startup_notification xscreensaver sndio"
|
||||
|
||||
if [ "$XBPS_WORDSIZE" -eq 32 ]; then
|
||||
nodebug=yes
|
||||
fi
|
||||
|
||||
case $XBPS_TARGET_MACHINE in
|
||||
armv6*)
|
||||
broken="required NEON extensions are not supported on armv6"
|
||||
;;
|
||||
i686*)
|
||||
# /usr/bin/ld: failed to set dynamic section sizes: memory exhausted
|
||||
nodebug=yes
|
||||
;;
|
||||
ppc64*) ;;
|
||||
ppc*) broken="ftbfs in several places" ;;
|
||||
esac
|
||||
|
||||
|
||||
post_extract() {
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
*-musl)
|
||||
|
@ -111,12 +112,10 @@ do_build() {
|
|||
;;
|
||||
esac
|
||||
|
||||
case "$XBPS_MACHINE" in
|
||||
i686*)
|
||||
if [ "$XBPS_WORDSIZE" -eq 32 ]; then
|
||||
# ENOMEM
|
||||
echo "ac_add_options --disable-debug-symbols" >>.mozconfig
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
export LDFLAGS+=" -Wl,-rpath=/usr/lib/firefox"
|
||||
|
||||
|
|
Loading…
Reference in a new issue