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="alsa dbus gtk3 pulseaudio startup_notification xscreensaver sndio"
|
||||||
build_options_default="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
|
case $XBPS_TARGET_MACHINE in
|
||||||
armv6*)
|
armv6*)
|
||||||
broken="required NEON extensions are not supported on armv6"
|
broken="required NEON extensions are not supported on armv6"
|
||||||
;;
|
;;
|
||||||
i686*)
|
ppc64*) ;;
|
||||||
# /usr/bin/ld: failed to set dynamic section sizes: memory exhausted
|
ppc*) broken="ftbfs in several places" ;;
|
||||||
nodebug=yes
|
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
*-musl)
|
*-musl)
|
||||||
|
@ -111,12 +112,10 @@ do_build() {
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
case "$XBPS_MACHINE" in
|
if [ "$XBPS_WORDSIZE" -eq 32 ]; then
|
||||||
i686*)
|
|
||||||
# ENOMEM
|
# ENOMEM
|
||||||
echo "ac_add_options --disable-debug-symbols" >>.mozconfig
|
echo "ac_add_options --disable-debug-symbols" >>.mozconfig
|
||||||
;;
|
fi
|
||||||
esac
|
|
||||||
|
|
||||||
export LDFLAGS+=" -Wl,-rpath=/usr/lib/firefox"
|
export LDFLAGS+=" -Wl,-rpath=/usr/lib/firefox"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue