public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mike Gilbert" <floppym@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/yasm/
Date: Sat, 13 Jun 2020 14:58:26 +0000 (UTC)	[thread overview]
Message-ID: <1592060270.cb368f80e731a0f31cf21ebef28ea3682008783a.floppym@gentoo> (raw)

commit:     cb368f80e731a0f31cf21ebef28ea3682008783a
Author:     Manoj Gupta <manojgupta <AT> google <DOT> com>
AuthorDate: Thu Jun 11 01:28:58 2020 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sat Jun 13 14:57:50 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb368f80

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 <AT> google.com>
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/16180

 dev-lang/yasm/yasm-1.3.0.ebuild | 4 +++-
 dev-lang/yasm/yasm-9999.ebuild  | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/dev-lang/yasm/yasm-1.3.0.ebuild b/dev-lang/yasm/yasm-1.3.0.ebuild
index fab7341fef1..7104a751fd0 100644
--- a/dev-lang/yasm/yasm-1.3.0.ebuild
+++ b/dev-lang/yasm/yasm-1.3.0.ebuild
@@ -5,7 +5,7 @@ EAPI=5
 
 PYTHON_COMPAT=( python2_7 )
 
-inherit python-single-r1
+inherit python-single-r1 toolchain-funcs
 
 DESCRIPTION="An assembler for x86 and x86_64 instruction sets"
 HOMEPAGE="http://yasm.tortall.net/"
@@ -34,6 +34,8 @@ src_configure() {
 
 	XMLTO=: \
 	econf \
+		CC_FOR_BUILD=$(tc-getBUILD_CC) \
+		CCLD_FOR_BUILD=$(tc-getBUILD_CC) \
 		$(use_enable python) \
 		$(use_enable python python-bindings) \
 		$(use_enable nls)

diff --git a/dev-lang/yasm/yasm-9999.ebuild b/dev-lang/yasm/yasm-9999.ebuild
index cf48d28e862..ccd86bc0090 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)


             reply	other threads:[~2020-06-13 14:58 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-13 14:58 Mike Gilbert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-09  5:20 [gentoo-commits] repo/gentoo:master commit in: dev-lang/yasm/ Sam James
2023-12-12 18:38 Mike Frysinger
2023-12-12 18:32 Mike Frysinger
2020-09-23 11:07 Michał Górny
2020-09-23 11:07 Michał Górny
2020-09-23 11:07 Michał Górny
2020-09-23 10:20 Agostino Sarubbo
2020-09-20 21:52 Thomas Deutschmann
2020-08-25 14:54 Mike Gilbert
2020-08-18 14:53 Mike Gilbert
2020-05-13 23:11 Mike Gilbert
2020-04-24 17:14 Mike Gilbert
2020-04-24 16:53 Mike Gilbert
2020-04-24 16:53 Mike Gilbert
2019-11-29  8:17 Michał Górny
2017-12-25 19:17 David Seifert
2017-07-30  8:47 Michał Górny
2017-03-20 20:34 Fabian Groffen
2016-12-07  8:32 Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1592060270.cb368f80e731a0f31cf21ebef28ea3682008783a.floppym@gentoo \
    --to=floppym@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox