math/openblas: Unbreak crashes in gfortran-emitted code due to thread safety issues

This patch is recommended by the upstream: https://github.com/xianyi/OpenBLAS/issues/1882#issuecomment-441472233

Approved by:	portmgr (unbreak)
This commit is contained in:
Yuri Victorovich
2018-11-25 23:44:30 +00:00
parent c2cd827123
commit f8336ce968

View File

@@ -3,7 +3,7 @@
PORTNAME= openblas
PORTVERSION= 0.2.20
PORTREVISION= 4
PORTREVISION= 5
DISTVERSIONPREFIX= v
PORTEPOCH= 1
CATEGORIES= math
@@ -59,7 +59,7 @@ BUILDFLAGS+= TARGET=${TARGET_CPU_ARCH}
.endif
MAXTHREADS?= 64
BUILDFLAGS_THREAD+= NUM_THREADS=${MAXTHREADS} USE_THREAD=1
BUILDFLAGS_THREAD+= NUM_THREADS=${MAXTHREADS} FCOMMON_OPT=-frecursive MAKE_NB_JOBS=-1 USE_THREAD=1
.if ${ARCH:M*64} == ""
BUILDFLAGS+= BINARY32=1