From 592bd10bc7f08b8d95649ec6f6988df2893ae0d2 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Thu, 18 Jan 2024 17:37:18 +0100 Subject: [PATCH] 14.0.1-0.2 --- gcc.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc.spec b/gcc.spec index d1393ef..2f1731f 100644 --- a/gcc.spec +++ b/gcc.spec @@ -208,7 +208,12 @@ BuildRequires: libzstd-devel # Make sure glibc supports TFmode long double BuildRequires: glibc >= 2.3.90-35 %endif -%ifarch %{multilib_64_archs} sparcv9 ppc +%ifarch %{multilib_64_archs} +BuildRequires: (glibc32 or glibc-devel(%{__isa_name}-32)) +%endif +%ifarch sparcv9 ppc +BuildRequires: (glibc64 or glibc-devel(%{__isa_name}-64)) +%endif # Ensure glibc{,-devel} is installed for both multilib arches BuildRequires: /lib/libc.so.6 /usr/lib/libc.so /lib64/libc.so.6 /usr/lib64/libc.so %endif