From d1dd4e302ef365df97fad7fe837262085611d06f Mon Sep 17 00:00:00 2001 From: Werner Saar Date: Mon, 23 Nov 2015 16:20:14 +0100 Subject: [PATCH] fix for bad or outdated mingw compiler --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) 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