From c0141a36233a5893b41be739509ed5fe886a2f37 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Mon, 24 Mar 2008 16:02:02 +0000 Subject: Add %{_host}-gcc for CdnX --- contrib/crossrpms/gdb/gdb.add | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'contrib') 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}" -- cgit v1.2.3