public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-biology/fasta/
Date: Sun, 20 Mar 2022 18:51:45 +0000 (UTC)	[thread overview]
Message-ID: <1647802251.0e456e888bc1895caf56c1ba4a44980117b6b5c8.sam@gentoo> (raw)

commit:     0e456e888bc1895caf56c1ba4a44980117b6b5c8
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 20 18:49:28 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar 20 18:50:51 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e456e88

sci-biology/fasta: [QA] fix tc-get* quoting

This can cause build problems for e.g. 32-bit (gcc -m32 ...)

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-biology/fasta/fasta-36.3.8h-r1.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sci-biology/fasta/fasta-36.3.8h-r1.ebuild b/sci-biology/fasta/fasta-36.3.8h-r1.ebuild
index 1c396edf4586..1cd7ca60dcde 100644
--- a/sci-biology/fasta/fasta-36.3.8h-r1.ebuild
+++ b/sci-biology/fasta/fasta-36.3.8h-r1.ebuild
@@ -27,11 +27,11 @@ src_prepare() {
 
 	use debug && append-flags -DDEBUG
 
-	if [[ $(tc-getCC) == *icc* ]]; then
+	if [[ "$(tc-getCC)" == *icc* ]]; then
 		CC_ALT=icc
 		ALT="${ALT}_icc"
 	else
-		CC_ALT=$(tc-getCC)
+		CC_ALT="$(tc-getCC)"
 		use x86 && ALT="32"
 		use amd64 && ALT="64"
 	fi
@@ -39,7 +39,7 @@ src_prepare() {
 	if use cpu_flags_x86_sse2 ; then
 		ALT="${ALT}_sse2"
 		append-flags -msse2
-		[[ $(tc-getCC) == *icc* ]] || append-flags -ffast-math
+		[[ "$(tc-getCC)" == *icc* ]] || append-flags -ffast-math
 	fi
 
 	export CC_ALT="${CC_ALT}"


             reply	other threads:[~2022-03-20 18:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-20 18:51 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-22  4:17 [gentoo-commits] repo/gentoo:master commit in: sci-biology/fasta/ Eli Schwartz
2024-08-22  4:17 Eli Schwartz
2024-08-22  4:17 Eli Schwartz
2022-07-30  8:35 Sam James
2022-03-19 19:33 David Seifert
2021-01-06 15:09 Fabian Groffen
2018-05-21 17:05 Aaron Bauman
2016-08-06 10:38 Pacho Ramos

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=1647802251.0e456e888bc1895caf56c1ba4a44980117b6b5c8.sam@gentoo \
    --to=sam@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