From 0e456e888bc1895caf56c1ba4a44980117b6b5c8 Mon Sep 17 00:00:00 2001 From: Sam James Date: Sun, 20 Mar 2022 18:49:28 +0000 Subject: 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 --- sci-biology/fasta/fasta-36.3.8h-r1.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sci-biology') 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}" -- cgit v1.2.3-65-gdbad