config: Use _host_os for conditional checks.

This commit is contained in:
Chris Johns 2014-04-10 18:27:17 +10:00
parent a14171f524
commit 6b7b22ac72
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@
#
# The Libiconv build instructions. We use 0.x.x Release 1.
#
%if %{_host} == mingw32
%if %{_host_os} == win32
%ifn %{check iconv >= %{libiconv_version}}
%include %{_configdir}/libiconv-1-1.cfg
%endif

View File

@ -17,7 +17,7 @@
#
%define patch1 %{rtems_gdb_patches}/gdb-sim-arange-inline.diff
%if %{_host} == freebsd
%if %{_host_os} == freebsd
%define patch5 %{rtems_gdb_patches}/patch-gdb-python-python-config.py
%define patch5_opts -p0
%endif