summaryrefslogtreecommitdiffstats
path: root/contrib/crossrpms/gcc
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2008-03-18 05:37:40 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2008-03-18 05:37:40 +0000
commit368708b76868544d4801ac47ba6e30037decdc2a (patch)
tree2e1b9a62ef4e8861cf19266e0db2511e789418a1 /contrib/crossrpms/gcc
parentBR: @rpmprefix@@tool_target@-gcc-c++ for CdnX-builds. (diff)
downloadrtems-368708b76868544d4801ac47ba6e30037decdc2a.tar.bz2
BR: @rpmprefix@@tool_target@-gcc and @rpmprefix@%{_host}-gcc for CdnX-builds.
Diffstat (limited to 'contrib/crossrpms/gcc')
-rw-r--r--contrib/crossrpms/gcc/gccnewlib.add5
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/crossrpms/gcc/gccnewlib.add b/contrib/crossrpms/gcc/gccnewlib.add
index df5f088f27..fa196c0e02 100644
--- a/contrib/crossrpms/gcc/gccnewlib.add
+++ b/contrib/crossrpms/gcc/gccnewlib.add
@@ -36,6 +36,11 @@ BuildRequires: mpfr-devel >= 2.3.0
%{?suse10_3:%define _build_mpfr 1}
%endif
+%if "%{_build}" != "%{_host}"
+BuildRequires: @rpmprefix@%{_host}-gcc
+BuildRequires: @rpmprefix@@tool_target@-gcc
+%endif
+
%if "%{gcc_version}" >= "4.2.0"
BuildRequires: flex bison
%if %build_f95