summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2017-12-08 23:25:29 (GMT)
committerTony Theodore <tonyt@logyst.com>2017-12-08 23:25:29 (GMT)
commitd4959e47682b34d932cc4a4b2b06a4dfea2bfd3b (patch)
tree66209ad56ecc93a4539642336c541858391e942f
parent11151e7310ec61d17b78f5004d24aa5ad8153686 (diff)
downloadmxe-d4959e47682b34d932cc4a4b2b06a4dfea2bfd3b.zip
mxe-d4959e47682b34d932cc4a4b2b06a4dfea2bfd3b.tar.gz
mxe-d4959e47682b34d932cc4a4b2b06a4dfea2bfd3b.tar.bz2
openblas: fix building on single-core machine
fixes #2005
-rw-r--r--src/openblas.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/openblas.mk b/src/openblas.mk
index ca5626c..1aaecbb 100644
--- a/src/openblas.mk
+++ b/src/openblas.mk
@@ -23,6 +23,7 @@ $(PKG)_MAKE_OPTS = \
BUILD_RELAPACK=1 \
USE_THREAD=1 \
USE_OPENMP=1 \
+ NUM_THREADS=$(call LIST_NMAX, 2 $(NPROCS)) \
TARGET=CORE2 \
DYNAMIC_ARCH=1 \
ARCH=$(strip \