diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-03-24 16:02:02 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-03-24 16:02:02 +0000 |
commit | c0141a36233a5893b41be739509ed5fe886a2f37 (patch) | |
tree | 6a55d303b9ca438799266461a0c6a2281a308bc7 /contrib | |
parent | Add patch1. (diff) | |
download | rtems-c0141a36233a5893b41be739509ed5fe886a2f37.tar.bz2 |
Add %{_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 5885e71b9e..609101c8f3 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}" |