diff options
author | Sam James <sam@gentoo.org> | 2021-11-10 06:13:06 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-11-10 06:13:17 +0000 |
commit | 2b154901f14a4d3d67c4dd3dca87af62a98f3484 (patch) | |
tree | 5140a2cb7312e1650253797ccc68526a95e0b20b /sys-apps/coreutils | |
parent | dev-libs/libbpf: Stabilize 0.5.0 sparc, #818940 (diff) | |
download | gentoo-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/coreutils')
-rw-r--r-- | sys-apps/coreutils/coreutils-9.0-r1.ebuild | 4 |
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 |