1 Star 0 Fork 79

vicxhh/rpm

forked from src-openEuler/rpm 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
bugfix-rpm-4.11.3-add-aarch64_ilp32-arch.patch 2.10 KB
一键复制 编辑 原始数据 按行查看 历史
hexiaowen 提交于 2019-09-30 11:16 . Package init
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
@@ -180,6 +180,13 @@
CANONARCH=riscv64
CANONCOLOR=3
;;
+ aarch64_ilp32)
+ ISANAME=aarch
+ ISABITS=32
+ CANONARCH=aarch64
+ CANONCOLOR=0
+ LIB=libilp32
+ ;;
noarch)
CANONARCH=noarch
CANONCOLOR=0
diff -Nur rpm-4.14.2.old/rpmrc.in rpm-4.14.2/rpmrc.in
--- rpm-4.14.2.old/rpmrc.in 2019-01-29 18:43:15.795000000 +0800
+++ rpm-4.14.2/rpmrc.in 2019-01-30 20:30:17.916000000 +0800
@@ -99,7 +99,7 @@
optflags: sh4a -O2 -g -mieee
optflags: aarch64 -O2 -g
-
+optflags: aarch64_ilp32 -O2 -g -mabi=ilp32
optflags: riscv64 -O2 -g
#############################################################
@@ -149,7 +149,7 @@
archcolor: sh4 1
archcolor: aarch64 2
-
+archcolor: aarch64_ilp32 1
archcolor: riscv64 2
#############################################################
@@ -243,7 +243,7 @@
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
@@ -377,11 +377,11 @@
buildarchtranslate: sh4a: sh4
buildarchtranslate: aarch64: aarch64
-
+buildarchtranslate: aarch64_ilp32: aarch64_ilp32
buildarchtranslate: riscv: riscv64
buildarchtranslate: riscv64: riscv64
-#############################################################
+#########################################/####################
# Architecture compatibility
arch_compat: alphaev67: alphaev6
@@ -485,7 +485,8 @@
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
@@ -522,7 +523,7 @@
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/vicxhh/rpm.git
git@gitee.com:vicxhh/rpm.git
vicxhh
rpm
rpm
master

搜索帮助