Merge pull request #2502 from martin-frbg/issue2497

Fix INTERFACE64 not propagating to the fortran codes on ARMV8
This commit is contained in:
Martin Kroeker 2020-03-10 20:01:23 +01:00 committed by GitHub
commit b9a2a3c540
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 0 deletions

View File

@ -635,6 +635,16 @@ endif
ifeq ($(ARCH), arm64)
NO_BINARY_MODE = 1
BINARY_DEFINED = 1
ifdef INTERFACE64
ifneq ($(INTERFACE64), 0)
ifeq ($(F_COMPILER), GFORTRAN)
FCOMMON_OPT += -fdefault-integer-8
endif
ifeq ($(F_COMPILER), FLANG)
FCOMMON_OPT += -i8
endif
endif
endif
endif