From f79feff8fcc6346b6cc23376e5b365e92e89ea32 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Thu, 8 May 2008 02:50:24 +0000 Subject: [PATCH] Enable --with-system-readline only for gdb >= 6.7 --- contrib/crossrpms/gdb/build.add | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/contrib/crossrpms/gdb/build.add b/contrib/crossrpms/gdb/build.add index cb59d3fe4f..eef6a329d2 100644 --- a/contrib/crossrpms/gdb/build.add +++ b/contrib/crossrpms/gdb/build.add @@ -16,8 +16,10 @@ --disable-win32-registry \ --disable-werror \ --enable-sim \ -%if "%{gdb_version}" >= "6.6" +%if "%{gdb_version}" >= "6.7" --with-system-readline \ +%endif +%if "%{gdb_version}" >= "6.6" --with-expat \ %endif --with-sysroot=%{_prefix}/@tool_target@/sys-root \