diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-09-23 11:11:04 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-09-23 11:11:04 +0000 |
commit | a87e94df9047010367ff7467873438d43eb8c1f1 (patch) | |
tree | 950da258d72d0042ba67f8e31caf72a33449f8bd /contrib/crossrpms/gdb/build.add | |
parent | Bump version. (diff) | |
download | rtems-a87e94df9047010367ff7467873438d43eb8c1f1.tar.bz2 |
Sync with rtems-4.10.
Diffstat (limited to 'contrib/crossrpms/gdb/build.add')
-rw-r--r-- | contrib/crossrpms/gdb/build.add | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/contrib/crossrpms/gdb/build.add b/contrib/crossrpms/gdb/build.add index 36862f127d..a60965ff99 100644 --- a/contrib/crossrpms/gdb/build.add +++ b/contrib/crossrpms/gdb/build.add @@ -16,15 +16,17 @@ --disable-win32-registry \ --disable-werror \ %{build_sim} \ -%if "%{gdb_version}" >= "6.7" - --with-system-readline \ -%endif + %{?with_system_readline:--with-system-readline} \ %if "%{gdb_version}" >= "6.6" --with-expat \ %endif %if "%{gdb_version}" >= "6.8.50" +%if %{with python} + --with-python \ +%else --without-python \ %endif +%endif --with-sysroot=%{_prefix}/@tool_target@/sys-root \ --prefix=%{_prefix} --bindir=%{_bindir} \ --includedir=%{_includedir} --libdir=%{_libdir} \ |