limit fix to loongson3

This commit is contained in:
Martin Kroeker 2024-04-29 23:07:03 +02:00 committed by GitHub
parent bc8ae2af74
commit bdbc343fdf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -25,7 +25,9 @@ endif
override CFLAGS += -DADD$(BU) -DCBLAS
ifeq ($(F_COMPILER),GFORTRAN)
ifeeq (, $(filter $(CORE),LOONGSON3R3 LOONGSON3R4))
override FFLAGS = $(filter_out(-O2 -O3,$(FFLAGS)) -O0
endif
override FFLAGS += -fno-tree-vectorize
endif
override TARGET_ARCH=