summaryrefslogtreecommitdiffstats
path: root/contrib/crossrpms/rtems4.10/m32c/rtems-4.10-m32c-rtems4.10-gdb.spec
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-03-10 10:56:03 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-03-10 10:56:03 +0000
commitaab8725e33923c4e4d477a9641d02825140461e7 (patch)
tree92c6bf0ef6476bde38a97edf22ac9d21222d5bdd /contrib/crossrpms/rtems4.10/m32c/rtems-4.10-m32c-rtems4.10-gdb.spec
parentDisable m32c simulator. (diff)
downloadrtems-aab8725e33923c4e4d477a9641d02825140461e7.tar.bz2
Disable sim on mingw32.
Diffstat (limited to 'contrib/crossrpms/rtems4.10/m32c/rtems-4.10-m32c-rtems4.10-gdb.spec')
-rw-r--r--contrib/crossrpms/rtems4.10/m32c/rtems-4.10-m32c-rtems4.10-gdb.spec7
1 files changed, 6 insertions, 1 deletions
diff --git a/contrib/crossrpms/rtems4.10/m32c/rtems-4.10-m32c-rtems4.10-gdb.spec b/contrib/crossrpms/rtems4.10/m32c/rtems-4.10-m32c-rtems4.10-gdb.spec
index 2e68144f14..c7198e191d 100644
--- a/contrib/crossrpms/rtems4.10/m32c/rtems-4.10-m32c-rtems4.10-gdb.spec
+++ b/contrib/crossrpms/rtems4.10/m32c/rtems-4.10-m32c-rtems4.10-gdb.spec
@@ -52,7 +52,7 @@ Name: rtems-4.10-m32c-rtems4.10-gdb
Summary: Gdb for target m32c-rtems4.10
Group: Development/Tools
Version: %{gdb_rpmvers}
-Release: 3%{?dist}
+Release: 4%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -75,6 +75,11 @@ BuildRequires: %{_host_rpmprefix}gcc
%if "m32c-rtems4.10" == "h8300-rtems4.10"
%define build_sim --disable-sim
%endif
+%if "%{gdb_version}" >= "6.8.50"
+%if "m32c-rtems4.10" == "m32c-rtems4.10"
+%define build_sim --disable-sim
+%endif
+%endif
%if "m32c-rtems4.10" == "lm32-rtems4.10"
%define build_sim --disable-sim
%endif