From 456441341a1ef4c6f276de872eeb41d4151b0e43 Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Tue, 16 Aug 2022 19:49:03 +0300 Subject: [PATCH] Disable shared on riscv64 This buildmode is not supported for riscv64 in Golang (might not be supported in general in the future). Signed-off-by: David Abdurachmanov --- golang.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/golang.spec b/golang.spec index eea91d2..1969cc2 100644 --- a/golang.spec +++ b/golang.spec @@ -67,7 +67,7 @@ %endif # Build golang shared objects for stdlib -%ifarch %{ix86} x86_64 ppc64le %{arm} aarch64 riscv64 +%ifarch %{ix86} x86_64 ppc64le %{arm} aarch64 %global shared 1 %else %global shared 0