mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
rtems/4.11: Fix _host_os for building on FreeBSD. It needs to be _build_os.
This commit is contained in:
parent
43252be1ba
commit
3adcfbf9d9
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user