1 Star 0 Fork 79

hongjinghao / openEuler-rpm-config

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
add-powerpc64le-and-ppc64le-support.patch 1.28 KB
一键复制 编辑 原始数据 按行查看 历史
邹鹏 提交于 2024-02-20 15:48 . add powerpc64le to generic_arches
From c6d355a6997ac10403181015b5ca9d17dcf8d1a7 Mon Sep 17 00:00:00 2001
From: JianChunfu <chunfu.jian@shingroup.cn>
Date: Tue, 24 Oct 2023 18:38:38 +0800
Subject: [PATCH] add powerpc64le and ppc64le support
---
macros | 2 +-
rpmrc | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/macros b/macros
index 5c7447b..38dc694 100644
--- a/macros
+++ b/macros
@@ -225,7 +225,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
%ldc_arches %{generic_arches}
%valgrind_arches %{generic_arches}
%nodejs_arches %{generic_arches}
diff --git a/rpmrc b/rpmrc
in
dex 8ba756d..10d7c86 100644
--- a/rpmrc
+++ b/rpmrc
@@ -8,6 +8,8 @@ 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
1
https://gitee.com/hongjinghao/openEuler-rpm-config.git
git@gitee.com:hongjinghao/openEuler-rpm-config.git
hongjinghao
openEuler-rpm-config
openEuler-rpm-config
master

搜索帮助