fix config error for loongarch64
Signed-off-by: Jingyun Hua <huajingyun@loongson.cn>
This commit is contained in:
parent
d7667021fd
commit
707c68c379
25
fix-config-error-for-loongarch64.patch
Normal file
25
fix-config-error-for-loongarch64.patch
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
From 749215e0573475d3f8085c5976ec0a82b703ccae Mon Sep 17 00:00:00 2001
|
||||||
|
From: Jingyun Hua <huajingyun@loongson.cn>
|
||||||
|
Date: Wed, 14 Dec 2022 07:00:44 +0000
|
||||||
|
Subject: [PATCH] fix config error for loongarch64
|
||||||
|
|
||||||
|
Signed-off-by: Jingyun Hua <huajingyun@loongson.cn>
|
||||||
|
---
|
||||||
|
config.sub | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/config.sub b/config.sub
|
||||||
|
index aca1d40..4d60f77 100644
|
||||||
|
--- a/config.sub
|
||||||
|
+++ b/config.sub
|
||||||
|
@@ -395,6 +395,7 @@ case $basic_machine in
|
||||||
|
| k1om-* \
|
||||||
|
| le32-* | le64-* \
|
||||||
|
| lm32-* \
|
||||||
|
+ | loongarch32-* | loongarch64-* | loongarchx32-* \
|
||||||
|
| m32c-* | m32r-* | m32rle-* \
|
||||||
|
| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
|
||||||
|
| m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
|
||||||
|
--
|
||||||
|
2.33.0
|
||||||
|
|
||||||
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Name: %{vendor}-rpm-config
|
Name: %{vendor}-rpm-config
|
||||||
Version: 30
|
Version: 30
|
||||||
Release: 33
|
Release: 34
|
||||||
License: GPL+
|
License: GPL+
|
||||||
Summary: specific rpm configuration files
|
Summary: specific rpm configuration files
|
||||||
URL: https://gitee.com/openeuler/openEuler-rpm-config
|
URL: https://gitee.com/openeuler/openEuler-rpm-config
|
||||||
@ -26,6 +26,7 @@ Patch12: add-loongarch64-to-generic_arches.patch
|
|||||||
Patch13: add-loongarch64-support-for-config.guess-and-config.sub.patch
|
Patch13: add-loongarch64-support-for-config.guess-and-config.sub.patch
|
||||||
Patch14: backport-kmp-feature.patch
|
Patch14: backport-kmp-feature.patch
|
||||||
Patch15: 0001-add-loongarch64-for-golang_arches.patch
|
Patch15: 0001-add-loongarch64-for-golang_arches.patch
|
||||||
|
Patch16: fix-config-error-for-loongarch64.patch
|
||||||
|
|
||||||
Provides: python-rpm-macros = %{?epoch:%{epoch}:}%{version}-%{release}
|
Provides: python-rpm-macros = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||||
Provides: python2-rpm-macros = %{?epoch:%{epoch}:}%{version}-%{release}
|
Provides: python2-rpm-macros = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||||
@ -132,6 +133,9 @@ sed -i "s/__vendor/%{vendor}/g" `grep "__vendor" -rl %{buildroot}%{_rpmconfigdir
|
|||||||
%{rpmvdir}/find-requires.ksyms
|
%{rpmvdir}/find-requires.ksyms
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Dec 14 2022 huajingyun <huajingyun@loongson.cn> - 30-34
|
||||||
|
- fix config error for loongarch64
|
||||||
|
|
||||||
* Tue Dec 13 2022 Wenlong Zhang <zhangwenlong@loongson.cn> - 30-33
|
* Tue Dec 13 2022 Wenlong Zhang <zhangwenlong@loongson.cn> - 30-33
|
||||||
- add loongarch64 for golang_arches
|
- add loongarch64 for golang_arches
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user