Skip to content

Commit bb47183

Browse files
authored
Force -qextname for trailing underscore generation when IBM xlf is used with gcc
1 parent b926e70 commit bb47183

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Makefile.system

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1167,6 +1167,10 @@ endif
11671167

11681168
ifeq ($(F_COMPILER), IBM)
11691169
CCOMMON_OPT += -DF_INTERFACE_IBM
1170+
FEXTRALIB += -lxlf90
1171+
ifeq ($(C_COMPILER), GCC)
1172+
FCOMMON_OPT += -qextname
1173+
endif
11701174
# FCOMMON_OPT += -qarch=440
11711175
ifdef BINARY64
11721176
FCOMMON_OPT += -q64

0 commit comments

Comments
 (0)