Handle erroneous user settings NOFORTRAN=0 and NO_FORTRAN
This commit is contained in:
parent
6a5ab083b7
commit
10b70c904d
9
Makefile
9
Makefile
|
@ -21,6 +21,15 @@ ifeq ($(BUILD_RELAPACK), 1)
|
||||||
RELA = re_lapack
|
RELA = re_lapack
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(NOFORTRAN), 0)
|
||||||
|
undefine NOFORTRAN
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(NO_FORTRAN), 1)
|
||||||
|
undefine NO_FORTRAN
|
||||||
|
NOFORTRAN=1
|
||||||
|
endif
|
||||||
|
|
||||||
LAPACK_NOOPT := $(filter-out -O0 -O1 -O2 -O3 -Ofast,$(LAPACK_FFLAGS))
|
LAPACK_NOOPT := $(filter-out -O0 -O1 -O2 -O3 -Ofast,$(LAPACK_FFLAGS))
|
||||||
|
|
||||||
SUBDIRS_ALL = $(SUBDIRS) test ctest utest exports benchmark ../laswp ../bench
|
SUBDIRS_ALL = $(SUBDIRS) test ctest utest exports benchmark ../laswp ../bench
|
||||||
|
|
Loading…
Reference in New Issue