firefox: fix adobe-flash-plugin crashes

Remove --enable-release from the default mozconfig
Add it back for *-musl builds
Fixes issue #10347

Closes: #11409 [via git-merge-pr]
This commit is contained in:
spkm 2018-02-06 01:50:01 +01:00 committed by Jürgen Buchmüller
parent f6775d139e
commit d7d84ec79b
2 changed files with 2 additions and 2 deletions

View File

@ -47,6 +47,5 @@ ac_add_options BINDGEN_CFLAGS="-I/usr/include/nspr -I/usr/include/pixman-1"
# needed to enable stylo at runtime by default # needed to enable stylo at runtime by default
ac_add_options --enable-stylo ac_add_options --enable-stylo
ac_add_options --enable-release
ac_add_options --enable-official-branding ac_add_options --enable-official-branding
ac_add_options --enable-application=browser ac_add_options --enable-application=browser

View File

@ -1,7 +1,7 @@
# Template build file for 'firefox'. # Template build file for 'firefox'.
pkgname=firefox pkgname=firefox
version=58.0.2 version=58.0.2
revision=1 revision=2
short_desc="Mozilla Firefox web browser" short_desc="Mozilla Firefox web browser"
maintainer="Juan RP <xtraeme@voidlinux.eu>" maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="https://www.mozilla.org/firefox/" homepage="https://www.mozilla.org/firefox/"
@ -50,6 +50,7 @@ do_build() {
*-musl) *-musl)
echo "ac_add_options --disable-jemalloc" >>.mozconfig echo "ac_add_options --disable-jemalloc" >>.mozconfig
echo "ac_add_options --disable-gold" >>.mozconfig echo "ac_add_options --disable-gold" >>.mozconfig
echo "ac_add_options --enable-release" >>.mozconfig
;; ;;
esac esac