mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
devel/gcc: Check and build GNU sed if not available on build host
Closes #2300
This commit is contained in:
parent
27c61da6df
commit
468fc79e8c
@ -6,6 +6,12 @@
|
|||||||
|
|
||||||
%define gcc_version_message RTEMS bare %{rtems_version}, RSB %{_sbgit_id}, Newlib %{newlib_version}
|
%define gcc_version_message RTEMS bare %{rtems_version}, RSB %{_sbgit_id}, Newlib %{newlib_version}
|
||||||
|
|
||||||
|
#
|
||||||
|
# GCC requires a GNU sed so build an internal version if one is not
|
||||||
|
# available
|
||||||
|
#
|
||||||
|
%include textproc/gsed-internal
|
||||||
|
|
||||||
#
|
#
|
||||||
# Build gdb first to raise the Python install error as early as
|
# Build gdb first to raise the Python install error as early as
|
||||||
# possible. GDB needs expat so it needs to be built before gdb.
|
# possible. GDB needs expat so it needs to be built before gdb.
|
||||||
|
@ -2,6 +2,11 @@
|
|||||||
# Default tools build
|
# Default tools build
|
||||||
#
|
#
|
||||||
|
|
||||||
|
# GCC requires a GNU sed so build an internal version if one is not
|
||||||
|
# available
|
||||||
|
#
|
||||||
|
%include textproc/gsed-internal.bset
|
||||||
|
|
||||||
#
|
#
|
||||||
# Build gdb first to raise the Python install error as early as
|
# Build gdb first to raise the Python install error as early as
|
||||||
# possible. GDB needs expat so it needs to be built before gdb.
|
# possible. GDB needs expat so it needs to be built before gdb.
|
||||||
|
@ -165,6 +165,10 @@ URL: http://gcc.gnu.org/
|
|||||||
%build
|
%build
|
||||||
build_top=$(pwd)
|
build_top=$(pwd)
|
||||||
|
|
||||||
|
%if %{defined _internal_gsed_path}
|
||||||
|
export PATH=%{_internal_gsed_path}/bin:$PATH
|
||||||
|
%endif
|
||||||
|
|
||||||
%{build_directory}
|
%{build_directory}
|
||||||
|
|
||||||
mkdir -p ${build_dir}
|
mkdir -p ${build_dir}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user