sci-libs/blas-lapack-aux-wrapper: only allow bfd or lld

mold doesn't implement required functionality. I've not bothered w/
BDEPEND or a pkg_* check given a mold-only system seems pretty unlikely,
but may need to change that in future.

Closes: https://bugs.gentoo.org/965199
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James 2025-12-01 02:41:00 +00:00
parent 1230847429
commit a6dd39939a
No known key found for this signature in database
GPG Key ID: 738409F520DF9190

View File

@ -40,6 +40,11 @@ BDEPEND="
QA_FLAGS_IGNORED=".*"
src_configure() {
# We rely on some specific linker features (bug #965199)
if ! tc-ld-is-bfd && ! tc-ld-is-lld; then
tc-ld-force-bfd
fi
local emesonargs=(
-Dilp64=$(usex index64 true false)
)