diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-12-14 06:24:04 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-12-14 06:24:04 +0000 |
commit | 56cdf03bd0ad0d4a5512f5be4ea6e3480efe0623 (patch) | |
tree | ba6d0cfe615151ce3331c5998b3cfa874f1a43f8 /contrib | |
parent | 427033509f210b07a6529639916ff9441c5573f8 (diff) |
Disable system-readline on EL5 with gdb >= 7.3.91.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/crossrpms/gdb/gdb.add | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/contrib/crossrpms/gdb/gdb.add b/contrib/crossrpms/gdb/gdb.add index 4b4bef829d..5c30ef790f 100644 --- a/contrib/crossrpms/gdb/gdb.add +++ b/contrib/crossrpms/gdb/gdb.add @@ -15,8 +15,15 @@ BuildRequires: %{_host_rpmprefix}gcc %global build_sim --enable-sim # Whether to build against system readline -# Default: yes +# Default: yes, except on EL5 +%if "{gdb_version}" >= "7.3.91" +# gdb >= 7.3.91 requires readline6 +# EL5's readline is too old +%{?el5:%bcond_with system_readline} +%{!?el5:%bcond_without system_readline} +%else %bcond_without system_readline +%endif # Whether to build python support %if "%{_build}" != "%{_host}" |