1 Star 0 Fork 78

hugel/rpm

forked from src-openEuler/rpm 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
bugfix-rpm-4.11.3-add-aarch64_ilp32-arch.patch 2.19 KB
一键复制 编辑 原始数据 按行查看 历史
xujing 提交于 2023-02-02 10:49 . update version to 4.18.0
diff -Nur rpm-4.14.2.old/installplatform rpm-4.14.2/installplatform
--- rpm-4.14.2.old/installplatform 2017-08-10 16:08:07.113108701 +0800
+++ rpm-4.14.2/installplatform 2019-01-30 17:28:25.511000000 +0800
@@ -186,6 +186,13 @@ for ARCH in noarch `grep ^arch_canon $RPMRC | cut -d: -f2`; do
CANONARCH=loongarch64
CANONCOLOR=3
;;
+ aarch64_ilp32)
+ ISANAME=aarch
+ ISABITS=32
+ CANONARCH=aarch64
+ CANONCOLOR=0
+ LIB=libilp32
+ ;;
noarch)
CANONARCH=noarch
CANONCOLOR=0
diff --git a/rpmrc.in b/rpmrc.in
index 2975a3a..6861b0a 100644
--- a/rpmrc.in
+++ b/rpmrc.in
@@ -101,7 +101,7 @@ optflags: sh4 -O2 -g -mieee
optflags: sh4a -O2 -g -mieee
optflags: aarch64 -O2 -g
-
+optflags: aarch64_ilp32 -O2 -g -mabi=ilp32
optflags: riscv64 -O2 -g
optflags: loongarch64 -O2 -g
@@ -154,7 +154,7 @@ archcolor: sh3 1
archcolor: sh4 1
archcolor: aarch64 2
-
+archcolor: aarch64_ilp32 1
archcolor: riscv64 2
@@ -253,7 +253,7 @@ arch_canon: sh4: sh4 17
arch_canon: sh4a: sh4a 17
arch_canon: xtensa: xtensa 18
arch_canon: aarch64: aarch64 19
-
+arch_canon: aarch64_ilp32: aarch64 19
arch_canon: mipsr6: mipsr6 20
arch_canon: mipsr6el: mipsr6el 20
arch_canon: mips64r6: mips64r6 21
@@ -391,13 +391,13 @@ buildarchtranslate: sh4: sh4
buildarchtranslate: sh4a: sh4
buildarchtranslate: aarch64: aarch64
-
+buildarchtranslate: aarch64_ilp32: aarch64_ilp32
buildarchtranslate: riscv: riscv64
buildarchtranslate: riscv64: riscv64
buildarchtranslate: loongarch64: loongarch64
-#############################################################
+#########################################/####################
# Architecture compatibility
arch_compat: alphaev67: alphaev6
@@ -503,7 +503,8 @@ arch_compat: sh3: noarch
arch_compat: sh4: noarch
arch_compat: sh4a: sh4
-arch_compat: aarch64: noarch
+arch_compat: aarch64_ilp32: aarch64 noarch
+arch_compat: aarch64: aarch64_ilp32 noarch
arch_compat: riscv: noarch
arch_compat: riscv64: noarch
@@ -542,7 +543,7 @@ arch_compat: loongarch64: noarch
buildarch_compat: ia64: noarch
buildarch_compat: aarch64: noarch
-
+buildarch_compat: aarch64_ilp32: noarch
buildarch_compat: riscv: noarch
buildarch_compat: riscv64: noarch
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/hugel/rpm.git
git@gitee.com:hugel/rpm.git
hugel
rpm
rpm
master

搜索帮助