firefox: disable gold linker on musl to unbreak the build.
Looks like the gold linker has issues with --hash-style=sysv|both, and can't hide some symbols that should be hidden with --hash-style=gnu. For now just disable the gold linker until we set ld's hash style to gnu, like alpine and to match our gcc settings.
This commit is contained in:
parent
88cfa18902
commit
a31d1136a2
1 changed files with 7 additions and 0 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue