28 lines
687 B
Diff
28 lines
687 B
Diff
From b13db2656d6e983a77b3d203b4af51ba15f2f815 Mon Sep 17 00:00:00 2001
|
|
From: zhaozhen <zhaozhen@loongson.cn>
|
|
Date: Thu, 9 Mar 2023 11:50:01 +0000
|
|
Subject: [PATCH] modify the ABI for loongarch64
|
|
|
|
---
|
|
Makefile.system | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/Makefile.system b/Makefile.system
|
|
index bada954..ade9b18 100644
|
|
--- a/Makefile.system
|
|
+++ b/Makefile.system
|
|
@@ -896,8 +896,8 @@ BINARY_DEFINED = 1
|
|
endif
|
|
|
|
ifeq ($(ARCH), loongarch64)
|
|
-CCOMMON_OPT += -march=loongarch64 -mabi=lp64
|
|
-FCOMMON_OPT += -march=loongarch64 -mabi=lp64
|
|
+CCOMMON_OPT += -march=loongarch64 -mabi=lp64d
|
|
+FCOMMON_OPT += -march=loongarch64 -mabi=lp64d
|
|
endif
|
|
|
|
endif
|
|
--
|
|
2.30.0
|
|
|