mirror of
https://github.com/nwchemgit/nwchem.git
synced 2026-07-29 06:35:39 -04:00
updates for MacOS flang-new version 17
This commit is contained in:
parent
d204cdb8da
commit
bfaaed3a28
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue