mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-libs/error-standalone: fix cross-compilation by exporting CC, AR
Closes: https://bugs.gentoo.org/960519 Signed-off-by: David Timber <dxdt@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@gentoo.org>
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user