From 54ce33e85110911ab56f1b67c681e84cfe9b07fc Mon Sep 17 00:00:00 2001 From: Chris Sidebottom Date: Mon, 29 Jul 2024 15:28:59 +0100 Subject: [PATCH] Fix GCC11 check for A64FX target --- Makefile.arm64 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.arm64 b/Makefile.arm64 index d3ea7522d..fccc0d0d0 100644 --- a/Makefile.arm64 +++ b/Makefile.arm64 @@ -278,7 +278,7 @@ endif ifeq ($(CORE), A64FX) ifeq (1, $(filter 1,$(GCCVERSIONGTEQ10) $(ISCLANG))) -ifeq (1, $(filter 1,$(GCCMINORVERSIONGTEQ3) $(ISCLANG))) +ifeq (1, $(filter 1,$(GCCMINORVERSIONGTEQ3) $(GCCVERSIONGTEQ11) $(ISCLANG))) CCOMMON_OPT += -march=armv8.2-a+sve -mtune=a64fx ifneq ($(F_COMPILER), NAG) FCOMMON_OPT += -march=armv8.2-a+sve -mtune=a64fx