From ccef6ccde741e92640f2f14301e888de2c59f281 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Andr=C3=A9=20Reuter?= Date: Tue, 18 Nov 2025 19:19:15 +0100 Subject: [PATCH] Recognize -fdefault-integer-8 for LLVMs flang MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jan André Reuter --- Makefile.system | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile.system b/Makefile.system index 6241006a81..9cfc98d482 100644 --- a/Makefile.system +++ b/Makefile.system @@ -887,7 +887,7 @@ NO_BINARY_MODE = 1 BINARY_DEFINED = 1 ifdef INTERFACE64 ifneq ($(INTERFACE64), 0) -ifeq ($(F_COMPILER), GFORTRAN) +ifeq ($(F_COMPILER), $(filter $(F_COMPILER),GFORTRAN FLANGNEW)) FCOMMON_OPT += -fdefault-integer-8 endif ifeq ($(F_COMPILER), FLANG) @@ -902,7 +902,7 @@ NO_BINARY_MODE = 1 BINARY_DEFINED = 1 ifdef INTERFACE64 ifneq ($(INTERFACE64), 0) -ifeq ($(F_COMPILER), GFORTRAN) +ifeq ($(F_COMPILER), $(filter $(F_COMPILER),GFORTRAN FLANGNEW)) FCOMMON_OPT += -fdefault-integer-8 endif ifeq ($(F_COMPILER), FLANG) @@ -917,7 +917,7 @@ NO_BINARY_MODE = 1 BINARY_DEFINED = 1 ifdef INTERFACE64 ifneq ($(INTERFACE64), 0) -ifeq ($(F_COMPILER), GFORTRAN) +ifeq ($(F_COMPILER), $(filter $(F_COMPILER),GFORTRAN FLANGNEW)) FCOMMON_OPT += -fdefault-integer-8 endif ifeq ($(F_COMPILER), FLANG)