From 2b154901f14a4d3d67c4dd3dca87af62a98f3484 Mon Sep 17 00:00:00 2001 From: Sam James Date: Wed, 10 Nov 2021 06:13:06 +0000 Subject: sys-apps/coreutils: give hint for libgmp location in cross Signed-off-by: Sam James --- sys-apps/coreutils/coreutils-9.0-r1.ebuild | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sys-apps') diff --git a/sys-apps/coreutils/coreutils-9.0-r1.ebuild b/sys-apps/coreutils/coreutils-9.0-r1.ebuild index ffbc9ea3ef92..1a47a1aacc83 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 -- cgit v1.2.3-65-gdbad