rtems/4.11: Fix _host_os for building on FreeBSD. It needs to be _build_os.

This commit is contained in:
Chris Johns 2014-05-02 20:48:49 +10:00
parent 43252be1ba
commit 3adcfbf9d9
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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