diff --git a/rtems/config/tools/rtems-gdb-7.6.2-1.cfg b/rtems/config/tools/rtems-gdb-7.6.2-1.cfg index 0457bd7..9d26643 100644 --- a/rtems/config/tools/rtems-gdb-7.6.2-1.cfg +++ b/rtems/config/tools/rtems-gdb-7.6.2-1.cfg @@ -12,7 +12,7 @@ # %include rtems-gdb-patches.cfg -%if %{_host} == freebsd +%if %{_build_os} == freebsd %define patch5 %{rtems_gdb_patches}/patch-gdb-python-python-config.py %define patch5_opts -p0 %endif diff --git a/rtems/config/tools/rtems-gdb-7.7-1.cfg b/rtems/config/tools/rtems-gdb-7.7-1.cfg index a1d8932..d1f59cc 100644 --- a/rtems/config/tools/rtems-gdb-7.7-1.cfg +++ b/rtems/config/tools/rtems-gdb-7.7-1.cfg @@ -18,7 +18,7 @@ %define patch1 %{rtems_gdb_patches}/gdb-sim-arange-inline.diff %define patch2 %{rtems_gdb_patches}/gdb-sim-cgen-inline.diff -%if %{_host_os} == freebsd +%if %{_build_os} == freebsd %define patch5 %{rtems_gdb_patches}/patch-gdb-python-python-config.py %define patch5_opts -p0 %endif