Skip to content

Commit 0ed2adf

Browse files
authored
Fix spelling of flang option -Mrecursive and add -Kieee
1 parent 63d2609 commit 0ed2adf

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

Makefile.system

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -783,7 +783,7 @@ endif
783783

784784
ifeq ($(F_COMPILER), FLANG)
785785
CCOMMON_OPT += -DF_INTERFACE_FLANG
786-
FCOMMON_OPT += -frecursive
786+
FCOMMON_OPT += -Mrecursive -Kieee
787787
ifdef BINARY64
788788
ifdef INTERFACE64
789789
ifneq ($(INTERFACE64), 0)
@@ -797,11 +797,6 @@ endif
797797
ifeq ($(USE_OPENMP), 1)
798798
FCOMMON_OPT += -fopenmp
799799
endif
800-
#ifeq ($(OSNAME), Linux)
801-
#ifeq ($(ARCH), x86_64)
802-
#FLANG_VENDOR := $(shell expr `$(FC) --version|cut -f 1 -d "."|head -1`)
803-
#endif
804-
#endif
805800
endif
806801

807802
ifeq ($(F_COMPILER), G77)
@@ -1276,7 +1271,6 @@ endif
12761271

12771272
override CFLAGS += $(COMMON_OPT) $(CCOMMON_OPT) -I$(TOPDIR)
12781273
override PFLAGS += $(COMMON_OPT) $(CCOMMON_OPT) -I$(TOPDIR) -DPROFILE $(COMMON_PROF)
1279-
#ifeq ($(FLANG_VENDOR),AOCC)
12801274
ifeq ($(F_COMPILER),FLANG)
12811275
override FFLAGS += $(filter-out -O2 -O3,$(COMMON_OPT)) -O1 $(FCOMMON_OPT)
12821276
else

0 commit comments

Comments
 (0)