diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-08-31 08:25:28 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-08-31 08:25:28 +0000 |
commit | 33378e65defd7850fe868d92dc5148e583b7a339 (patch) | |
tree | b256f6ba1754f1cc43fa1b44ac2de5a30c09c212 /contrib/crossrpms/gdb/gdb.add | |
parent | Regenerate. (diff) | |
download | rtems-33378e65defd7850fe868d92dc5148e583b7a339.tar.bz2 |
Abandon gdb < 6.8.
Diffstat (limited to '')
-rw-r--r-- | contrib/crossrpms/gdb/gdb.add | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/contrib/crossrpms/gdb/gdb.add b/contrib/crossrpms/gdb/gdb.add index 00d666554a..39b2480754 100644 --- a/contrib/crossrpms/gdb/gdb.add +++ b/contrib/crossrpms/gdb/gdb.add @@ -14,6 +14,10 @@ BuildRequires: %{_host_rpmprefix}gcc %define build_sim --enable-sim +# Whether to build against system readline +# Default: yes +%bcond_without system_readline + %if "@tool_target@" == "powerpc-rtems@rtems_api@" %if "%{_build}" != "%{_host}" # psim doesn't support Cdn-X @@ -53,7 +57,6 @@ BuildRequires: %{_host_rpmprefix}gcc %endif %endif -%if "%{gdb_version}" >= "6.6" # suse %if "%{?suse}" >= "10.3" BuildRequires: libexpat-devel @@ -61,16 +64,7 @@ BuildRequires: libexpat-devel # Fedora/CentOS/Cygwin/MinGW BuildRequires: %{_host_rpmprefix}expat-devel %endif -%endif -%if "%{gdb_version}" < "6.7" -%if "%{_build}" != "%{_host}" -BuildRequires: %{_host_rpmprefix}termcap-devel -%endif -%bcond_with system_readline -%else -%bcond_without system_readline -%endif %{?with_system_readline:BuildRequires: %{_host_rpmprefix}readline-devel} BuildRequires: %{_host_rpmprefix}ncurses-devel |