diff --git a/contrib/crossrpms/gdb/build.add b/contrib/crossrpms/gdb/build.add index a52949eafb..36862f127d 100644 --- a/contrib/crossrpms/gdb/build.add +++ b/contrib/crossrpms/gdb/build.add @@ -21,6 +21,9 @@ %endif %if "%{gdb_version}" >= "6.6" --with-expat \ +%endif +%if "%{gdb_version}" >= "6.8.50" + --without-python \ %endif --with-sysroot=%{_prefix}/@tool_target@/sys-root \ --prefix=%{_prefix} --bindir=%{_bindir} \