Avoid adding a spurious dependency on the fortran runtime despite NOFORTRAN=1
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>
Sun, 11 Aug 2019 14:24:39 +0000 (16:24 +0200)
committerGitHub <noreply@github.com>
Sun, 11 Aug 2019 14:24:39 +0000 (16:24 +0200)
for cases where a fortran compiler is present but not wanted (e.g. not fully functional)

Makefile.system

index 16791bc..835c76e 100644 (file)
@@ -267,9 +267,10 @@ OBJCOPY = $(CROSS_SUFFIX)objcopy
 OBJCONV = $(CROSS_SUFFIX)objconv
 
 
-# For detect fortran failed, only build BLAS.
+# When fortran support was either not detected or actively deselected, only build BLAS.
 ifeq ($(NOFORTRAN), 1)
 NO_LAPACK = 1
+override FEXTRALIB = 
 endif
 
 #