summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2014-04-10 18:27:17 +1000
committerChris Johns <chrisj@rtems.org>2014-04-10 18:27:17 +1000
commit6b7b22ac728b37707ed057eaa917e603560d437b (patch)
tree8baa0145a4fea6146712814c9be60e603b08f709
parentsb: Add _host_os_version to all supported hosts. (diff)
downloadrtems-source-builder-6b7b22ac728b37707ed057eaa917e603560d437b.tar.bz2
config: Use _host_os for conditional checks.
-rw-r--r--bare/config/devel/libiconv-1.14-1.cfg2
-rw-r--r--rtems/config/tools/rtems-gdb-7.7-1.cfg2
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