diff options
-rw-r--r-- | sci-libs/superlu_mt/superlu_mt-3.1-r1.ebuild | 4 |
1 files 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" |