Update gdb.spec for s390x cleanups/builddeps.
This commit is contained in:
parent
d6ddcf6b62
commit
8751d74736
16
gdb.spec
16
gdb.spec
@ -270,18 +270,16 @@ BuildRequires: elfutils-debuginfod-client-devel
|
|||||||
%global bits_local %{?_isa}
|
%global bits_local %{?_isa}
|
||||||
%global bits_other %{?_isa}
|
%global bits_other %{?_isa}
|
||||||
%ifarch s390x
|
%ifarch s390x
|
||||||
%if 0%{!?rhel:1} || 0%{?rhel} < 8
|
%if 0%{?rhel:1} && 0%{?rhel} < 8
|
||||||
%global bits_other (%{__isa_name}-32)
|
%global bits_other (%{__isa_name}-32)
|
||||||
%endif
|
%endif
|
||||||
%else #!s390x
|
%endif
|
||||||
%ifarch ppc
|
%ifarch ppc
|
||||||
%global bits_other (%{__isa_name}-64)
|
%global bits_other (%{__isa_name}-64)
|
||||||
%else #!ppc
|
%endif
|
||||||
%ifarch sparc64 ppc64 s390x x86_64
|
%ifarch sparc64 ppc64 x86_64
|
||||||
%global bits_other (%{__isa_name}-32)
|
%global bits_other (%{__isa_name}-32)
|
||||||
%endif #sparc64 ppc64 s390x x86_64
|
%endif
|
||||||
%endif #!ppc
|
|
||||||
%endif #!s390x
|
|
||||||
|
|
||||||
BuildRequires: sharutils dejagnu
|
BuildRequires: sharutils dejagnu
|
||||||
# gcc-objc++ is not covered by the GDB testsuite.
|
# gcc-objc++ is not covered by the GDB testsuite.
|
||||||
@ -325,8 +323,8 @@ BuildRequires: prelink
|
|||||||
BuildRequires: opencl-headers ocl-icd-devel%{bits_local} ocl-icd-devel%{bits_other}
|
BuildRequires: opencl-headers ocl-icd-devel%{bits_local} ocl-icd-devel%{bits_other}
|
||||||
%endif
|
%endif
|
||||||
%if 0%{!?rhel:1}
|
%if 0%{!?rhel:1}
|
||||||
# Fedora arm+ppc64le do not yet have fpc built.
|
# Fedora s390x does not have fpc.
|
||||||
%ifnarch %{arm} ppc64le
|
%ifnarch s390x
|
||||||
BuildRequires: fpc
|
BuildRequires: fpc
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
Reference in New Issue
Block a user