chromium: not using ld.gold fixes i686*

This commit is contained in:
Jürgen Buchmüller 2020-06-28 17:39:48 +02:00
parent fd52d8b91a
commit 21ccbfcfc4

View file

@ -40,10 +40,6 @@ case "${XBPS_TARGET_MACHINE}" in
x86_64|i686) build_options_default+=" js_optimize" ;;
esac
case "${XBPS_TARGET_MACHINE}" in
i686) broken="what(): std::bad_alloc during linking" ;;
esac
post_extract() {
case "${XBPS_TARGET_MACHINE}" in
*-musl)
@ -192,9 +188,10 @@ do_configure() {
'use_lld=false'
)
# XXX: gold broken with musl
# XXX: gold broken with musl and i686
case "${XBPS_TARGET_MACHINE}" in
*-musl) conf+=( 'use_gold=false' ) ;;
i686*) conf+=( 'use_gold=false' ) ;;
*) conf+=( 'use_gold=true' ) ;;
esac