aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sci-libs/openblas/openblas-0.2.20.ebuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/sci-libs/openblas/openblas-0.2.20.ebuild b/sci-libs/openblas/openblas-0.2.20.ebuild
index c15c6eb73..838c334d6 100644
--- a/sci-libs/openblas/openblas-0.2.20.ebuild
+++ b/sci-libs/openblas/openblas-0.2.20.ebuild
@@ -40,6 +40,8 @@ get_openblas_flags() {
openblas_flags+=( USE_THREAD=1 USE_OPENMP=0 )
elif use openmp; then
openblas_flags+=( USE_OPENMP=1 )
+ else
+ openblas_flags+=( USE_THREAD=0 ) # single-threaded
fi
local profname=$(numeric-int64_get_module_name)
local libname="${profname//-/_}"