1 Star 0 Fork 90

邹鹏/openEuler-rpm-config

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0001-1-Add-riscv64-to-golang_arches.patch 771 Bytes
一键复制 编辑 原始数据 按行查看 历史
whoisxxx 提交于 2020-12-01 02:09 . Add riscv64 in macros.go
From c1b9fdaa93bfe0b2c70be4a851500d15f891d2f8 Mon Sep 17 00:00:00 2001
From: whoisxxx <[email protected]>
Date: Sat, 28 Nov 2020 11:02:21 +0800
Subject: [PATCH] !1 Add "riscv64" to golang_arches The golang version 1.14 has
support riscv64, so add "riscv64" to golang_arches to enable rpmbuild for
golang.
---
macros.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/macros.go b/macros.go
index c1e6e75..cd493e7 100644
--- a/macros.go
+++ b/macros.go
@@ -12,7 +12,7 @@
# redhat-rpm-macros.
# Define arches for PA and SA
-%golang_arches %{ix86} x86_64 %{arm} aarch64 ppc64le s390x
+%golang_arches %{ix86} x86_64 %{arm} aarch64 ppc64le s390x riscv64
%gccgo_arches %{mips}
%go_arches %{golang_arches} %{gccgo_arches}
--
1.8.3.1
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/peng_zou/openEuler-rpm-config.git
[email protected]:peng_zou/openEuler-rpm-config.git
peng_zou
openEuler-rpm-config
openEuler-rpm-config
master

搜索帮助