From 21ccbfcfc46476e1e76ddd9116dcea75f3b0369a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Sun, 28 Jun 2020 17:39:48 +0200 Subject: [PATCH] chromium: not using ld.gold fixes i686* --- srcpkgs/chromium/template | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/srcpkgs/chromium/template b/srcpkgs/chromium/template index 66b0ff7db87..ac80f6b78fa 100644 --- a/srcpkgs/chromium/template +++ b/srcpkgs/chromium/template @@ -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