diff --git a/sci-libs/hypre/hypre-2.20.0.ebuild b/sci-libs/hypre/hypre-2.20.0.ebuild index 12b7b63fb7e64..4fec2500afed8 100644 --- a/sci-libs/hypre/hypre-2.20.0.ebuild +++ b/sci-libs/hypre/hypre-2.20.0.ebuild @@ -60,7 +60,7 @@ src_configure() { tc-export CC CXX append-flags -Dhypre_dgesvd=dgesvd_ - if use openmp && [[ $(tc-getCC)$ == *gcc* ]] ; then + if use openmp && [[ $(tc-getCC) == *gcc* ]] ; then append-flags -fopenmp && append-ldflags -fopenmp fi