mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
Disable system-readline on EL5 with gdb >= 7.3.91.
This commit is contained in:
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user