summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorWerner Saar <wernsaar@googlemail.com>2015-11-23 16:20:14 +0100
committerWerner Saar <wernsaar@googlemail.com>2015-11-23 16:20:14 +0100
commitd1dd4e302ef365df97fad7fe837262085611d06f (patch)
tree7f08d98af61ecef765baeddee2a5d480cae142ae /Makefile
parent318f0949c345cbea4743cb3f9af3fd5a13dd402f (diff)
downloadopenblas-d1dd4e302ef365df97fad7fe837262085611d06f.tar.gz
openblas-d1dd4e302ef365df97fad7fe837262085611d06f.tar.bz2
openblas-d1dd4e302ef365df97fad7fe837262085611d06f.zip
fix for bad or outdated mingw compiler
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1ca12f1d0..392b1d25c 100644
--- a/Makefile
+++ b/Makefile
@@ -252,7 +252,11 @@ ifndef NOFORTRAN
ifeq ($(F_COMPILER), GFORTRAN)
-@echo "TIMER = INT_ETIME" >> $(NETLIB_LAPACK_DIR)/make.inc
ifdef SMP
+ifeq ($(OSNAME), WINNT)
+ -@echo "LOADER = $(FC)" >> $(NETLIB_LAPACK_DIR)/make.inc
+else
-@echo "LOADER = $(FC) -pthread" >> $(NETLIB_LAPACK_DIR)/make.inc
+endif
else
-@echo "LOADER = $(FC)" >> $(NETLIB_LAPACK_DIR)/make.inc
endif