From dd0cb726b1010f8c3c0260bfc6d7b7451814439b Mon Sep 17 00:00:00 2001 From: Andrew Lukoshko Date: Sun, 22 Feb 2026 20:09:05 +0000 Subject: [PATCH] Remove riscv64 from debug_arches, disable debug on riscv64 --- java-21-openjdk.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/java-21-openjdk.spec b/java-21-openjdk.spec index 7b85680..c2c6fa7 100644 --- a/java-21-openjdk.spec +++ b/java-21-openjdk.spec @@ -18,6 +18,10 @@ # Only produce a release build on x86_64: # $ fedpkg mockbuild --without slowdebug --without fastdebug +%ifarch riscv64 +%define debug_package %{nil} +%endif + # Enable fastdebug builds by default on relevant arches. %bcond_without fastdebug # Enable slowdebug builds by default on relevant arches. @@ -113,7 +117,7 @@ # Set of architectures which support multiple ABIs %global multilib_arches %{power64} sparc64 x86_64 # Set of architectures for which we build slowdebug builds -%global debug_arches %{ix86} x86_64 sparcv9 sparc64 %{aarch64} %{power64} s390x riscv64 +%global debug_arches %{ix86} x86_64 sparcv9 sparc64 %{aarch64} %{power64} s390x # Set of architectures for which we build fastdebug builds %global fastdebug_arches x86_64 ppc64le aarch64 # Set of architectures with a Just-In-Time (JIT) compiler