diff options
author | Manoj Gupta <manojgupta@google.com> | 2020-06-09 14:06:27 -0700 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2020-06-10 19:22:06 +0100 |
commit | e2f6c24fe4017ace9328db809422f50ccf129310 (patch) | |
tree | c2d4e126171660ed3d924c332dc220225f8262ab /dev-libs/gmp | |
parent | sci-libs/trilinos: fix compilation and fix installation paths (diff) | |
download | gentoo-e2f6c24fe4017ace9328db809422f50ccf129310.tar.gz gentoo-e2f6c24fe4017ace9328db809422f50ccf129310.tar.bz2 gentoo-e2f6c24fe4017ace9328db809422f50ccf129310.zip |
gmp: Respect portage host cc variable
Pass CC_FOR_BUILD to econf. Otherwise it invokes gcc instead of portage
specified HOST/BUILD CC.
Signed-off-by: Manoj Gupta <manojgupta@google.com>
Closes: https://github.com/gentoo/gentoo/pull/16150
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-libs/gmp')
-rw-r--r-- | dev-libs/gmp/gmp-6.2.0-r1.ebuild | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dev-libs/gmp/gmp-6.2.0-r1.ebuild b/dev-libs/gmp/gmp-6.2.0-r1.ebuild index 8296a51c8edf..4417fecb70cc 100644 --- a/dev-libs/gmp/gmp-6.2.0-r1.ebuild +++ b/dev-libs/gmp/gmp-6.2.0-r1.ebuild @@ -80,6 +80,7 @@ multilib_src_configure() { # and without TEXTRELs. musl does not support TEXTRELs: bug #707332 tc-export CC ECONF_SOURCE="${S}" econf \ + CC_FOR_BUILD="$(tc-getBUILD_CC)" \ --localstatedir="${EPREFIX}"/var/state/gmp \ --enable-shared \ $(use_enable asm assembly) \ |