Force compilation with O0 to avoid spurious failures from gfortran misoptimization
This commit is contained in:
parent
cc735a87d9
commit
bc8ae2af74
|
@ -1,6 +1,7 @@
|
||||||
TOPDIR = ..
|
TOPDIR = ..
|
||||||
include ../Makefile.system
|
include ../Makefile.system
|
||||||
ifeq ($(F_COMPILER),GFORTRAN)
|
ifeq ($(F_COMPILER),GFORTRAN)
|
||||||
|
override FFLAGS = $(filter_out(-O2 -O3,$(FFLAGS)) -O0
|
||||||
override FFLAGS += -fno-tree-vectorize
|
override FFLAGS += -fno-tree-vectorize
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue