commit: 5d2c1780091c3511adb79f4f57154fc4d963ab7c Author: David Timber <dxdt <AT> dev <DOT> snart <DOT> me> AuthorDate: Mon Jul 21 16:14:28 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Jul 25 06:42:26 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d2c1780
sys-libs/error-standalone: fix cross-compilation by exporting CC, AR Closes: https://bugs.gentoo.org/960519 Signed-off-by: David Timber <dxdt <AT> dev.snart.me> Part-of: https://github.com/gentoo/gentoo/pull/43099 Closes: https://github.com/gentoo/gentoo/pull/43099 Signed-off-by: Sam James <sam <AT> gentoo.org> sys-libs/error-standalone/error-standalone-2.0-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys-libs/error-standalone/error-standalone-2.0-r1.ebuild b/sys-libs/error-standalone/error-standalone-2.0-r1.ebuild index 5c7d90f1c0ae..24f1689a8344 100644 --- a/sys-libs/error-standalone/error-standalone-2.0-r1.ebuild +++ b/sys-libs/error-standalone/error-standalone-2.0-r1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit flag-o-matic +inherit flag-o-matic toolchain-funcs DESCRIPTION="standalone <error.h> implementation intended for musl" HOMEPAGE="https://hacktivis.me/git/error-standalone/" @@ -20,7 +20,7 @@ IUSE="static-libs" src_compile() { append-flags -fPIC - emake liberror.so $(usex static-libs liberror.a '') + emake CC="$(tc-getCC)" AR="$(tc-getAR)" liberror.so $(usex static-libs liberror.a '') } src_install() {
