diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-08-31 14:28:22 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-08-31 14:28:22 +0000 |
commit | 96942e4a627e34ed52aa0a0c14dc895ec486a36f (patch) | |
tree | 3fdea3af2eb9d4d23de7db820370a0407b7837f4 /contrib | |
parent | New. (diff) | |
download | rtems-96942e4a627e34ed52aa0a0c14dc895ec486a36f.tar.bz2 |
Work around gdb-7.3 not honoring --without-python.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/crossrpms/gdb/install.add | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/crossrpms/gdb/install.add b/contrib/crossrpms/gdb/install.add index 1bdff46101..f8d0d1a586 100644 --- a/contrib/crossrpms/gdb/install.add +++ b/contrib/crossrpms/gdb/install.add @@ -40,5 +40,11 @@ fi %endif +%if "{gdb_version}" >= "7.3" +%if ! %{with python} +# gdb-7.3 doesn't honor --without-python correctly + rm -rf ${RPM_BUILD_ROOT}%{_datadir}/gdb/python +%endif +%endif cd .. |