forked from Imagelibrary/rtems
Unconditionally BR: %{_host_rpmprefix}gcc.
This commit is contained in:
@@ -11,9 +11,7 @@ License: GPL/LGPL
|
||||
URL: http://sources.redhat.com/binutils
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
BuildRequires: @rpmprefix@%{_host}-gcc
|
||||
%endif
|
||||
BuildRequires: %{_host_rpmprefix}gcc
|
||||
|
||||
%if "%{binutils_version}" >= "2.18"
|
||||
# Bug in bfd: Doesn't build without texinfo installed
|
||||
|
||||
@@ -22,8 +22,14 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
%define _use_internal_dependency_generator 0
|
||||
|
||||
BuildRequires: %{_host_rpmprefix}gcc
|
||||
|
||||
%if "%{gcc_version}" >= "4.3.0"
|
||||
BuildRequires: gmp-devel >= 4.1
|
||||
%if "%{_build}" != "%{_host}"
|
||||
BuildRequires: %{_host_rpmprefix}gmp-devel
|
||||
BuildRequires: %{_host_rpmprefix}mpfr-devel
|
||||
%endif
|
||||
%if "%{?fedora}" >= "8"
|
||||
BuildRequires: mpfr-devel >= 2.3.0
|
||||
%endif
|
||||
@@ -37,7 +43,6 @@ BuildRequires: mpfr-devel >= 2.3.0
|
||||
%endif
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
BuildRequires: @rpmprefix@%{_host}-gcc
|
||||
BuildRequires: @rpmprefix@@tool_target@-gcc
|
||||
%endif
|
||||
|
||||
|
||||
@@ -10,9 +10,7 @@ License: GPL/LGPL
|
||||
URL: http://sources.redhat.com/gdb
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
%if "%{_build}" != "%{_host}"
|
||||
BuildRequires: @rpmprefix@%{_host}-gcc
|
||||
%endif
|
||||
BuildRequires: %{_host_rpmprefix}gcc
|
||||
|
||||
%if "%{gdb_version}" >= "6.6"
|
||||
# suse
|
||||
|
||||
Reference in New Issue
Block a user