commit: 2b154901f14a4d3d67c4dd3dca87af62a98f3484
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 10 06:13:06 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Nov 10 06:13:17 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b154901
sys-apps/coreutils: give hint for libgmp location in cross
Signed-off-by: Sam James <sam <AT> gentoo.org>
sys-apps/coreutils/coreutils-9.0-r1.ebuild | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/sys-apps/coreutils/coreutils-9.0-r1.ebuild
b/sys-apps/coreutils/coreutils-9.0-r1.ebuild
index ffbc9ea3ef9..1a47a1aacc8 100644
--- a/sys-apps/coreutils/coreutils-9.0-r1.ebuild
+++ b/sys-apps/coreutils/coreutils-9.0-r1.ebuild
@@ -112,6 +112,10 @@ src_configure() {
$(use_with gmp libgmp)
)
+ if use gmp ; then
+ myconf+=( --with-libgmp-prefix="${ESYSROOT}"/usr )
+ fi
+
if tc-is-cross-compiler && [[ ${CHOST} == *linux* ]] ; then
# bug #311569
export fu_cv_sys_stat_statfs2_bsize=yes