diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-03-25 07:27:33 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-03-25 07:27:33 +0000 |
commit | c2a5fa56d5fb1e8db410633896ea550f7f74d9a9 (patch) | |
tree | bfed064b6c11591b9cb6d33f6624d7fc07823def /contrib | |
parent | bf33c69e2f162ccda6ad96824052a7e635f71385 (diff) |
BuildRequire: @rpmprefix@%{_host}-gcc for CdnX.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/crossrpms/gdb/gdb.add | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/crossrpms/gdb/gdb.add b/contrib/crossrpms/gdb/gdb.add index 100ebe1656..f0157cbf86 100644 --- a/contrib/crossrpms/gdb/gdb.add +++ b/contrib/crossrpms/gdb/gdb.add @@ -10,6 +10,10 @@ 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 + %if "%{gdb_version}" >= "6.6" # suse %if "%{?suse}" |