Skip to content

Commit b9a2a3c

Browse files
authored
Merge pull request #2502 from martin-frbg/issue2497
Fix INTERFACE64 not propagating to the fortran codes on ARMV8
2 parents 047dfb2 + 3f7f7ab commit b9a2a3c

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

Makefile.system

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -635,6 +635,16 @@ endif
635635
ifeq ($(ARCH), arm64)
636636
NO_BINARY_MODE = 1
637637
BINARY_DEFINED = 1
638+
ifdef INTERFACE64
639+
ifneq ($(INTERFACE64), 0)
640+
ifeq ($(F_COMPILER), GFORTRAN)
641+
FCOMMON_OPT += -fdefault-integer-8
642+
endif
643+
ifeq ($(F_COMPILER), FLANG)
644+
FCOMMON_OPT += -i8
645+
endif
646+
endif
647+
endif
638648
endif
639649

640650

0 commit comments

Comments
 (0)