summaryrefslogtreecommitdiff
path: root/add-powerpc64le-and-ppc64le-support.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-26 01:21:22 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-26 01:21:22 +0000
commit81447664d327096b405b13c2ecd1b100cb13afd3 (patch)
tree30f9db2c80e81bffb5dea159af15a2e93aa525af /add-powerpc64le-and-ppc64le-support.patch
parent8287de106c1c627906a2794637090e90d088c5cc (diff)
automatic import of openEuler-rpm-configopeneuler22.03_LTS_SP4openeuler22.03_LTS_SP3
Diffstat (limited to 'add-powerpc64le-and-ppc64le-support.patch')
-rw-r--r--add-powerpc64le-and-ppc64le-support.patch29
1 files changed, 14 insertions, 15 deletions
diff --git a/add-powerpc64le-and-ppc64le-support.patch b/add-powerpc64le-and-ppc64le-support.patch
index 8840182..9c0cd9d 100644
--- a/add-powerpc64le-and-ppc64le-support.patch
+++ b/add-powerpc64le-and-ppc64le-support.patch
@@ -1,39 +1,38 @@
-From c6d355a6997ac10403181015b5ca9d17dcf8d1a7 Mon Sep 17 00:00:00 2001
-From: JianChunfu <chunfu.jian@shingroup.cn>
-Date: Tue, 24 Oct 2023 18:38:38 +0800
+From fc04d33640534f5046210b4cb60fd4c595955781 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?=E9=82=B9=E9=B9=8F?= <peng.zou@shingroup.cn>
+Date: Thu, 22 Feb 2024 14:42:38 +0800
Subject: [PATCH] add powerpc64le and ppc64le support
---
macros | 2 +-
- rpmrc | 2 ++
- 2 files changed, 3 insertions(+), 1 deletion(-)
+ rpmrc | 1 +
+ 2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/macros b/macros
-index 5c7447b..38dc694 100644
+index d241ce3..ddee753 100644
--- a/macros
+++ b/macros
-@@ -225,7 +225,7 @@
+@@ -241,7 +241,7 @@
%pkg_vcmp() (%{expand:%%{pkg_version_cmp %1 %3}} %2 0)
#arches macros
--%generic_arches %{ix86} x86_64 %{arm} aarch64 loongarch64
-+%generic_arches %{ix86} x86_64 %{arm} aarch64 loongarch64 powerpc64le ppc64le
+-%generic_arches %{ix86} x86_64 %{arm} aarch64 sw_64 loongarch64
++%generic_arches %{ix86} x86_64 %{arm} aarch64 sw_64 loongarch64 powerpc64le ppc64le
%ldc_arches %{generic_arches}
%valgrind_arches %{generic_arches}
%nodejs_arches %{generic_arches}
diff --git a/rpmrc b/rpmrc
-in
-dex 8ba756d..10d7c86 100644
+index 8ba756d..6a29bcb 100644
--- a/rpmrc
+++ b/rpmrc
-@@ -8,6 +8,8 @@ optflags: x86_64 %{__global_compiler_flags} -m64 -mtune=generic -fasynchronous-u
+@@ -7,6 +7,7 @@ optflags: x86_64 %{__global_compiler_flags} -m64 -mtune=generic -fasynchronous-u
+
optflags: aarch64 %{__global_compiler_flags} -fasynchronous-unwind-tables -fstack-clash-protection
optflags: riscv64 %{__global_compiler_flags} -fasynchronous-unwind-tables -fstack-clash-protection
-
+optflags: ppc64le %{__global_compiler_flags} -fasynchronous-unwind-tables -fstack-clash-protection
-+
+
buildarchtranslate: athlon: i686
buildarchtranslate: geode: i686
- buildarchtranslate: pentium4: i686
--
2.33.0
+