Skip to content

Commit be147a9

Browse files
authored
Avoid adding a spurious dependency on the fortran runtime despite NOFORTRAN=1
for cases where a fortran compiler is present but not wanted (e.g. not fully functional)
1 parent abea977 commit be147a9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile.system

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,9 +267,10 @@ OBJCOPY = $(CROSS_SUFFIX)objcopy
267267
OBJCONV = $(CROSS_SUFFIX)objconv
268268

269269

270-
# For detect fortran failed, only build BLAS.
270+
# When fortran support was either not detected or actively deselected, only build BLAS.
271271
ifeq ($(NOFORTRAN), 1)
272272
NO_LAPACK = 1
273+
override FEXTRALIB =
273274
endif
274275

275276
#

0 commit comments

Comments
 (0)