Skip to content

Commit c34e63f

Browse files
authored
Merge pull request #3390 from Keno/patch-4
Make sure that Netlib LAPACK respects FFLAGS
2 parents 2405550 + 2d33e12 commit c34e63f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ prof_lapack : lapack_prebuild
269269
lapack_prebuild :
270270
ifeq ($(NOFORTRAN), $(filter 0,$(NOFORTRAN)))
271271
-@echo "FC = $(FC)" > $(NETLIB_LAPACK_DIR)/make.inc
272-
-@echo "FFLAGS = $(LAPACK_FFLAGS)" >> $(NETLIB_LAPACK_DIR)/make.inc
272+
-@echo "override FFLAGS = $(LAPACK_FFLAGS)" >> $(NETLIB_LAPACK_DIR)/make.inc
273273
-@echo "FFLAGS_DRV = $(LAPACK_FFLAGS)" >> $(NETLIB_LAPACK_DIR)/make.inc
274274
-@echo "POPTS = $(LAPACK_FPFLAGS)" >> $(NETLIB_LAPACK_DIR)/make.inc
275275
-@echo "FFLAGS_NOOPT = -O0 $(LAPACK_NOOPT)" >> $(NETLIB_LAPACK_DIR)/make.inc

0 commit comments

Comments
 (0)