diff options
author | Manoj Gupta <manojgupta@google.com> | 2020-06-10 18:28:58 -0700 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2020-06-13 10:57:50 -0400 |
commit | cb368f80e731a0f31cf21ebef28ea3682008783a (patch) | |
tree | ae7e0c5b33bbd01b3679b62552ca04494aebcfef /dev-lang/yasm/yasm-9999.ebuild | |
parent | sys-devel/flex: Respect portage host cc variable (diff) | |
download | gentoo-cb368f80e731a0f31cf21ebef28ea3682008783a.tar.gz gentoo-cb368f80e731a0f31cf21ebef28ea3682008783a.tar.bz2 gentoo-cb368f80e731a0f31cf21ebef28ea3682008783a.zip |
dev-lang/yasm: Respect portage host cc variable
Pass CC_FOR_BUILD and CCLD_FOR_BUILD to econf.
Otherwise it invokes cc instead of portage specified HOST/BUILD CC.
Signed-off-by: Manoj Gupta <manojgupta@google.com>
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/16180
Diffstat (limited to 'dev-lang/yasm/yasm-9999.ebuild')
-rw-r--r-- | dev-lang/yasm/yasm-9999.ebuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dev-lang/yasm/yasm-9999.ebuild b/dev-lang/yasm/yasm-9999.ebuild index cf48d28e8623..ccd86bc00909 100644 --- a/dev-lang/yasm/yasm-9999.ebuild +++ b/dev-lang/yasm/yasm-9999.ebuild @@ -4,7 +4,7 @@ EAPI=7 PYTHON_COMPAT=( python2_7 ) -inherit python-single-r1 +inherit python-single-r1 toolchain-funcs if [[ ${PV} == 9999* ]] ; then EGIT_REPO_URI="https://github.com/yasm/yasm.git" @@ -60,6 +60,8 @@ src_configure() { use python && python_setup local myconf=( + CC_FOR_BUILD=$(tc-getBUILD_CC) \ + CCLD_FOR_BUILD=$(tc-getBUILD_CC) \ --disable-warnerror $(use_enable python) $(use_enable python python-bindings) |