1 Star 0 Fork 90

yueyaoqiang/openEuler-rpm-config

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
add-loongarch64-support-for-config.guess-and-config.sub.patch 815 Bytes
一键复制 编辑 原始数据 按行查看 历史
huajingyun 提交于 2022-11-21 03:29 . add loongarch64 support
diff --git a/config.guess b/config.guess
index 463631a..2985f85 100644
--- a/config.guess
+++ b/config.guess
@@ -975,6 +975,9 @@ EOF
k1om:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
exit ;;
+ loongarch32:Linux:*:* | loongarch64:Linux:*:* | loongarchx32:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
m32r*:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
exit ;;
diff --git a/config.sub b/config.sub
index 39dbf60..39870d3 100644
--- a/config.sub
+++ b/config.sub
@@ -268,6 +268,7 @@ case $basic_machine in
| k1om \
| le32 | le64 \
| lm32 \
+ | loongarch32 | loongarch64 | loongarchx32 \
| m32c | m32r | m32rle | m68000 | m68k | m88k \
| maxq | mb | microblaze | microblazeel | mcore | mep | metag \
| mips | mipsbe | mipseb | mipsel | mipsle \
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yueyaoqiang/openEuler-rpm-config.git
git@gitee.com:yueyaoqiang/openEuler-rpm-config.git
yueyaoqiang
openEuler-rpm-config
openEuler-rpm-config
master

搜索帮助