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-libs/superlu_mt/
Date: Sun, 20 Mar 2022 18:51:46 +0000 (UTC)	[thread overview]
Message-ID: <1647802288.01be6b457af58e5994e6c0a2d723e98d89a43e6d.sam@gentoo> (raw)

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

sci-libs/superlu_mt: [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-libs/superlu_mt/superlu_mt-3.1-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-libs/superlu_mt/superlu_mt-3.1-r1.ebuild b/sci-libs/superlu_mt/superlu_mt-3.1-r1.ebuild
index 631f199b5ca3..ec84973ee7d0 100644
--- a/sci-libs/superlu_mt/superlu_mt-3.1-r1.ebuild
+++ b/sci-libs/superlu_mt/superlu_mt-3.1-r1.ebuild
@@ -33,12 +33,12 @@ PATCHES=(
 
 pkg_setup() {
 	if use openmp && ! use threads; then
-		if [[ $(tc-getCC) == *gcc ]] && ! tc-has-openmp; then
+		if [[ "$(tc-getCC)" == *gcc ]] && ! tc-has-openmp; then
 			ewarn "OpenMP is not available in your current selected gcc"
 			die "need openmp capable gcc"
 		fi
 		CTHREADS="-D__OPENMP"
-		[[ $(tc-getCC) == *gcc ]] && LDTHREADS="-fopenmp"
+		[[ "$(tc-getCC)" == *gcc ]] && LDTHREADS="-fopenmp"
 	else
 		CTHREADS="-D__PTHREAD"
 		LDTHREADS="-pthread"


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

Thread overview: 11+ 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 --
2022-05-15  1:18 [gentoo-commits] repo/gentoo:master commit in: sci-libs/superlu_mt/ Sam James
2022-01-09 20:44 Jakov Smolić
2022-01-09  1:10 Sam James
2021-12-01  6:37 Yixun Lan
2021-11-28 20:52 Marek Szuba
2021-10-12 22:23 Marek Szuba
2021-10-12 22:23 Marek Szuba
2020-12-07 15:27 Sam James
2020-12-07 15:27 Sam James
2020-01-14 14:56 Agostino Sarubbo

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=1647802288.01be6b457af58e5994e6c0a2d723e98d89a43e6d.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