mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
config: Use _host_os for conditional checks.
This commit is contained in:
parent
a14171f524
commit
6b7b22ac72
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user