summaryrefslogtreecommitdiffstats
path: root/contrib/crossrpms/gdb/build.add
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-08-31 09:21:53 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-08-31 09:21:53 +0000
commita917c19e690adba6f7642350db0d43643f400041 (patch)
tree99f3c58915b9d0710ead955d41168a2788e1cbdd /contrib/crossrpms/gdb/build.add
parentRegenerate. (diff)
downloadrtems-a917c19e690adba6f7642350db0d43643f400041.tar.bz2
Rework python.
Diffstat (limited to 'contrib/crossrpms/gdb/build.add')
-rw-r--r--contrib/crossrpms/gdb/build.add8
1 files changed, 1 insertions, 7 deletions
diff --git a/contrib/crossrpms/gdb/build.add b/contrib/crossrpms/gdb/build.add
index 8468d3d17f..7771f7f926 100644
--- a/contrib/crossrpms/gdb/build.add
+++ b/contrib/crossrpms/gdb/build.add
@@ -18,13 +18,7 @@
%{build_sim} \
%{?with_system_readline:--with-system-readline} \
--with-expat \
-%if "%{gdb_version}" >= "6.8.50"
-%if %{with python}
- --with-python \
-%else
- --without-python \
-%endif
-%endif
+ %{?with_python:--with-python}%{!?with_python:--without-python} \
--with-sysroot=%{_prefix}/@tool_target@/sys-root \
--prefix=%{_prefix} --bindir=%{_bindir} \
--includedir=%{_includedir} --libdir=%{_libdir} \