summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-11-10 06:13:06 +0000
committerSam James <sam@gentoo.org>2021-11-10 06:13:17 +0000
commit2b154901f14a4d3d67c4dd3dca87af62a98f3484 (patch)
tree5140a2cb7312e1650253797ccc68526a95e0b20b /sys-apps
parentdev-libs/libbpf: Stabilize 0.5.0 sparc, #818940 (diff)
downloadgentoo-2b154901f14a4d3d67c4dd3dca87af62a98f3484.tar.gz
gentoo-2b154901f14a4d3d67c4dd3dca87af62a98f3484.tar.bz2
gentoo-2b154901f14a4d3d67c4dd3dca87af62a98f3484.zip
sys-apps/coreutils: give hint for libgmp location in cross
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/coreutils/coreutils-9.0-r1.ebuild4
1 files changed, 4 insertions, 0 deletions
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