Skip to content

Commit 7cef952

Browse files
authored
Merge pull request #5550 from martin-frbg/flangppc
Fix PPC compilation with flang and gmake
2 parents 88c1899 + 0d5bf7b commit 7cef952

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Makefile.power

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,10 @@ ifeq ($(F_COMPILER), GFORTRAN)
118118
FCOMMON_OPT += -fno-optimize-sibling-calls
119119
endif
120120

121+
ifeq ($(F_COMPILER), FLANGNEW)
122+
override FCOMMON_OPT := $(filter-out -frecursive,$(FCOMMON_OPT))
123+
endif
124+
121125
FLAMEPATH = $(HOME)/flame/lib
122126

123127
#ifeq ($(CORE), CELL)

0 commit comments

Comments
 (0)