diff --git a/srcpkgs/firefox/template b/srcpkgs/firefox/template index 1a03d3ea649..57777e0a972 100644 --- a/srcpkgs/firefox/template +++ b/srcpkgs/firefox/template @@ -57,6 +57,13 @@ do_configure() { export ac_cv_sqlite_enable_unlock_notify=yes export ac_cv_prog_hostcxx_works=1 + case "$XBPS_TARGET_MACHINE" in + *-musl) # XXX gold linking with --hash-style=sysv results in unhidden symbols + # XXX see https://sourceware.org/ml/binutils/2014-09/msg00230.html + cross_args+=" --enable-gold=no" + ;; + esac + cd xbps-build SHELL=/bin/bash ../configure --prefix=/usr --libdir=/usr/lib \ --with-system-nspr --with-system-nss --with-system-bz2 \