diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-03-18 05:37:48 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-03-18 05:37:48 +0000 |
commit | c8ecbf9c1e920278fbe05ade37ed229bffe0880d (patch) | |
tree | e01f7129a2ffc1f351adbc3727d130a53961795f /contrib | |
parent | 44303a8fbd4587a9658776a4ca01dcfb3ced05f5 (diff) |
BR: @rpmprefix@@tool_target@-gcc and @rpmprefix@%{_host}-gcc for CdnX-builds.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/crossrpms/gcc/gccnewlib.add | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/crossrpms/gcc/gccnewlib.add b/contrib/crossrpms/gcc/gccnewlib.add index c29f28ce3d..6920cecc16 100644 --- a/contrib/crossrpms/gcc/gccnewlib.add +++ b/contrib/crossrpms/gcc/gccnewlib.add @@ -20,6 +20,11 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %define _use_internal_dependency_generator 0 +%if "%{_build}" != "%{_host}" +BuildRequires: @rpmprefix@%{_host}-gcc +BuildRequires: @rpmprefix@@tool_target@-gcc +%endif + %if "%{gcc_version}" >= "4.2.0" BuildRequires: flex bison %endif |