Merge pull request #3747 from martin-frbg/issue3746
Avoid spurious calls and warnings when NOFORTRAN is set
This commit is contained in:
commit
00534523ad
|
@ -143,6 +143,7 @@ ifeq ($(C_COMPILER), CLANG)
|
|||
CCOMMON_OPT += -mavx2
|
||||
endif
|
||||
endif
|
||||
ifeq ($(NOFORTRAN), $(filter 0,$(NOFORTRAN)))
|
||||
ifeq ($(F_COMPILER), GFORTRAN)
|
||||
# AVX2 support was added in 4.7.0
|
||||
GCCVERSIONGTEQ4 := $(shell expr `$(FC) -dumpversion | cut -f1 -d.` \>= 4)
|
||||
|
@ -159,6 +160,7 @@ endif
|
|||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue