summaryrefslogtreecommitdiffstats
path: root/contrib/crossrpms/gcc
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2008-03-31 04:38:55 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2008-03-31 04:38:55 +0000
commitad476d6e5912b6659e43d2df36f2e4c37ef9c4df (patch)
tree10162b31f41136bb644b1d5bbda8a1e4c2268584 /contrib/crossrpms/gcc
parentRemove readline/configure to force not building the bundled readline and use ... (diff)
downloadrtems-ad476d6e5912b6659e43d2df36f2e4c37ef9c4df.tar.bz2
Unconditionally BR: %{_host_rpmprefix}gcc.
Diffstat (limited to 'contrib/crossrpms/gcc')
-rw-r--r--contrib/crossrpms/gcc/gccnewlib.add7
1 files changed, 6 insertions, 1 deletions
diff --git a/contrib/crossrpms/gcc/gccnewlib.add b/contrib/crossrpms/gcc/gccnewlib.add
index fa196c0e02..bde2f438ed 100644
--- a/contrib/crossrpms/gcc/gccnewlib.add
+++ b/contrib/crossrpms/gcc/gccnewlib.add
@@ -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