summaryrefslogtreecommitdiffstats
path: root/contrib/crossrpms/gdb/prep.add
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-09-18 10:34:24 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-09-18 10:34:24 +0000
commit34ad1f48a6f87d3ced26cc87c6e6164bcd6a2e8d (patch)
treea5342fd901156c80c0bdead9436962813ffffd14 /contrib/crossrpms/gdb/prep.add
parent * rtems/score/cpu.h: Fix for inline asm in _CPU_Fatal_halt(). (diff)
downloadrtems-34ad1f48a6f87d3ced26cc87c6e6164bcd6a2e8d.tar.bz2
Rework --with-system-readline handling.
Diffstat (limited to '')
-rw-r--r--contrib/crossrpms/gdb/prep.add4
1 files changed, 1 insertions, 3 deletions
diff --git a/contrib/crossrpms/gdb/prep.add b/contrib/crossrpms/gdb/prep.add
index dedd1d2cbf..02b65d6813 100644
--- a/contrib/crossrpms/gdb/prep.add
+++ b/contrib/crossrpms/gdb/prep.add
@@ -6,7 +6,5 @@ cd gdb-%{gdb_version}
%{?PATCH0:%patch0 -p1}
cd ..
-%if "%{gdb_version}" >= "6.7"
# Force using a system-provided libreadline
-rm -f gdb-%{gdb_version}/readline/configure
-%endif
+%{?with_system_readline:rm -f gdb-%{gdb_version}/readline/configure}