Skip to content

Commit 12591ca

Browse files
authored
Merge pull request #5334 from azuresky01/develop
Fix INTERFACE64 builds on Loongarch64 with LLVM
2 parents ee26caf + 8953ba9 commit 12591ca

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Makefile.system

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1193,6 +1193,13 @@ endif
11931193
else ifeq ($(ARCH), $(filter $(ARCH),mips))
11941194
FCOMMON_OPT += -mabi=32
11951195
endif
1196+
ifeq ($(ARCH), $(filter $(ARCH),loongarch64))
1197+
ifdef INTERFACE64
1198+
ifneq ($(INTERFACE64), 0)
1199+
FCOMMON_OPT += -fdefault-integer-8
1200+
endif
1201+
endif
1202+
endif
11961203
else
11971204
ifdef BINARY64
11981205
ifneq ($(OSNAME), AIX)

0 commit comments

Comments
 (0)