limit optimization fix to Loongson3
This commit is contained in:
parent
3cdced0bf1
commit
041137b9dc
|
@ -1,7 +1,9 @@
|
|||
TOPDIR = ..
|
||||
include ../Makefile.system
|
||||
ifeq ($(F_COMPILER),GFORTRAN)
|
||||
ifneq (, $(filter $(CORE),LOONGSON3R3 LOONGSON3R4))
|
||||
override FFLAGS = $(filter_out(-O2 -O3,$(FFLAGS)) -O0
|
||||
endif
|
||||
override FFLAGS += -fno-tree-vectorize
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue