From 6b7b22ac728b37707ed057eaa917e603560d437b Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Thu, 10 Apr 2014 18:27:17 +1000 Subject: [PATCH] config: Use _host_os for conditional checks. --- bare/config/devel/libiconv-1.14-1.cfg | 2 +- rtems/config/tools/rtems-gdb-7.7-1.cfg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bare/config/devel/libiconv-1.14-1.cfg b/bare/config/devel/libiconv-1.14-1.cfg index d82146f..4943fe0 100644 --- a/bare/config/devel/libiconv-1.14-1.cfg +++ b/bare/config/devel/libiconv-1.14-1.cfg @@ -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 diff --git a/rtems/config/tools/rtems-gdb-7.7-1.cfg b/rtems/config/tools/rtems-gdb-7.7-1.cfg index d7cd2f9..e65a46a 100644 --- a/rtems/config/tools/rtems-gdb-7.7-1.cfg +++ b/rtems/config/tools/rtems-gdb-7.7-1.cfg @@ -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