public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Benda XU" <heroxbd@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/prefix:rap0 commit in: scripts/
Date: Wed, 15 Jun 2016 08:04:21 +0000 (UTC)	[thread overview]
Message-ID: <1465977502.d9f3ca959f9e89ff89e1bdfb9fb642eb31eedc50.heroxbd@gentoo> (raw)

commit:     d9f3ca959f9e89ff89e1bdfb9fb642eb31eedc50
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Wed Jun  8 06:01:04 2016 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Wed Jun 15 07:58:22 2016 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=d9f3ca95

s/bootstrap-prefix.sh: figure out ABI flags of x86.

 scripts/bootstrap-prefix.sh | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh
index feeb58b..9cda6b8 100755
--- a/scripts/bootstrap-prefix.sh
+++ b/scripts/bootstrap-prefix.sh
@@ -138,7 +138,11 @@ configure_cflags() {
 			export CXX="${CXX-g++} -m32"
 			export HOSTCC="${CC}"
 			;;
-		*)
+		i*86-pc-linux-gnu)
+			if [[ $(${CC} -dumpspecs | grep -A1 multilib_default) != *m32 ]]; then
+				export CC="${CC-gcc} -m32"
+				export CXX="${CXX-g++} -m32"
+			fi
 			;;
 	esac
 }


WARNING: multiple messages have this Message-ID (diff)
From: "Benda XU" <heroxbd@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/prefix:master commit in: scripts/
Date: Wed, 15 Jun 2016 07:58:44 +0000 (UTC)	[thread overview]
Message-ID: <1465977502.d9f3ca959f9e89ff89e1bdfb9fb642eb31eedc50.heroxbd@gentoo> (raw)
Message-ID: <20160615075844.B_mEUCFpQjPb33VytdJirtEJqLiodYTzyUGz7Pwc9eY@z> (raw)

commit:     d9f3ca959f9e89ff89e1bdfb9fb642eb31eedc50
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Wed Jun  8 06:01:04 2016 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Wed Jun 15 07:58:22 2016 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=d9f3ca95

s/bootstrap-prefix.sh: figure out ABI flags of x86.

 scripts/bootstrap-prefix.sh | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh
index feeb58b..9cda6b8 100755
--- a/scripts/bootstrap-prefix.sh
+++ b/scripts/bootstrap-prefix.sh
@@ -138,7 +138,11 @@ configure_cflags() {
 			export CXX="${CXX-g++} -m32"
 			export HOSTCC="${CC}"
 			;;
-		*)
+		i*86-pc-linux-gnu)
+			if [[ $(${CC} -dumpspecs | grep -A1 multilib_default) != *m32 ]]; then
+				export CC="${CC-gcc} -m32"
+				export CXX="${CXX-g++} -m32"
+			fi
 			;;
 	esac
 }


             reply	other threads:[~2016-06-15  8:04 UTC|newest]

Thread overview: 63+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-15  8:04 Benda XU [this message]
2016-06-15  7:58 ` [gentoo-commits] repo/proj/prefix:master commit in: scripts/ Benda XU
  -- strict thread matches above, loose matches on Subject: below --
2016-07-02  1:33 [gentoo-commits] repo/proj/prefix:rap0 " Benda XU
2016-06-15 11:32 Benda XU
2016-06-15 11:32 Benda XU
2016-06-15 11:32 Benda XU
2016-06-15 11:32 Benda XU
2016-06-15 11:32 Benda XU
2016-06-15 11:32 Benda XU
2016-06-15 11:32 Benda XU
2016-06-15 11:32 Benda XU
2016-06-15 11:32 Benda XU
2016-06-15 11:32 Benda XU
2016-06-15 11:32 Benda XU
2016-06-15 11:32 Benda XU
2016-06-15 11:32 Benda XU
2016-06-15 10:12 [gentoo-commits] repo/proj/prefix:master " Benda XU
2016-06-15 11:32 ` [gentoo-commits] repo/proj/prefix:rap0 " Benda XU
2016-06-15  8:04 Benda XU
2016-06-15  8:04 Benda XU
2016-06-15  8:04 Benda XU
2016-06-15  8:04 Benda XU
2016-06-15  8:04 Benda XU
2016-06-15  8:04 Benda XU
2016-06-15  8:04 Benda XU
2016-06-15  8:04 Benda XU
2016-06-15  8:04 Benda XU
2016-06-15  8:04 Benda XU
2016-06-15  8:04 Benda XU
2016-06-15  8:04 Benda XU
2016-06-15  8:04 Benda XU
2016-06-15  8:04 Benda XU
2016-06-15  8:04 Benda XU
2016-06-15  8:04 Benda XU
2016-06-15  7:58 [gentoo-commits] repo/proj/prefix:master " Benda XU
2016-06-15  8:04 ` [gentoo-commits] repo/proj/prefix:rap0 " Benda XU
2016-06-15  0:35 Benda XU
2016-06-15  0:35 Benda XU
2016-06-10  3:29 Benda XU
2016-06-10  3:29 Benda XU
2016-06-10  3:29 Benda XU
2016-06-10  3:29 Benda XU
2016-06-10  3:29 Benda XU
2016-06-10  3:29 Benda XU
2016-06-10  3:29 Benda XU
2016-06-10  3:29 Benda XU
2016-06-10  3:29 Benda XU
2016-06-10  3:29 Benda XU
2016-06-10  3:29 Benda XU
2016-06-10  3:29 Benda XU
2016-06-10  3:29 Benda XU
2016-06-10  3:29 Benda XU
2016-06-10  3:29 Benda XU
2016-06-10  3:29 Benda XU
2016-06-10  3:29 Benda XU
2016-06-10  3:29 Benda XU
2016-06-10  3:29 Benda XU
2016-06-10  3:29 Benda XU
2016-06-10  3:29 Benda XU
2016-06-08  1:10 Benda XU
2016-06-08  1:10 Benda XU
2016-06-08  1:10 Benda XU
2016-06-08  1:10 Benda XU
2016-06-08  1:10 Benda XU
2016-06-04  7:29 Benda XU

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=1465977502.d9f3ca959f9e89ff89e1bdfb9fb642eb31eedc50.heroxbd@gentoo \
    --to=heroxbd@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