updates for MacOS flang-new version 17

This commit is contained in:
edoapra 2023-10-17 10:25:28 -07:00
parent d204cdb8da
commit bfaaed3a28
No known key found for this signature in database
GPG key ID: 48E12DA1EDE9E1B0

View file

@ -2219,7 +2219,7 @@ ifneq ($(TARGET),LINUX)
GNU_GE_4_6=true
FOPTIONS+=-fno-backslash
FLANG_VERSION=$(shell $(FC) --version |head -1 |cut -d ' ' -f 4 |cut -d . -f 1)
FLANG_VERSION=$(shell $(FC) --version |head -1 || sed 's/^.*\(version\)//'|cut -d . -f 1)
FLANG_LT_17 = $(shell [ $(FLANG_VERSION) -lt 17 ] && echo true)
ifeq ($(FLANG_LT_17),true)
FOPTIONS+=-mcmodel=medium