mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
Disable C++ if not built. Use the faster bootstrap.
This commit is contained in:
parent
e879c9fe49
commit
3ff992b0ce
@ -20,6 +20,13 @@ BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n)
|
|||||||
Source0: http://ftp.rtems.org/ftp/pub/rtems/%{rtems_kernel_version}/rtems-%{rtems_kernel_version}.tar.bz2
|
Source0: http://ftp.rtems.org/ftp/pub/rtems/%{rtems_kernel_version}/rtems-%{rtems_kernel_version}.tar.bz2
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
#
|
||||||
|
# If C++ defined for the tool set use it to control RTEMS's setting..
|
||||||
|
#
|
||||||
|
%ifn %{defined enable_cxx}
|
||||||
|
%define rtems_cxx %{enable_cxx}
|
||||||
|
%endif
|
||||||
|
|
||||||
#
|
#
|
||||||
# Default set up.
|
# Default set up.
|
||||||
#
|
#
|
||||||
@ -61,8 +68,8 @@ BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n)
|
|||||||
%{?patch9:%patch9 %{?patch9_opts:%{patch9_opts}}%{!?patch9_opts:-p1}}
|
%{?patch9:%patch9 %{?patch9_opts:%{patch9_opts}}%{!?patch9_opts:-p1}}
|
||||||
%if %{rtems_bootstrap}
|
%if %{rtems_bootstrap}
|
||||||
./bootstrap -c
|
./bootstrap -c
|
||||||
./bootstrap -p
|
%{_sbdir}/sb-bootstrap --preinstall
|
||||||
./bootstrap
|
%{_sbdir}/sb-bootstrap
|
||||||
%endif
|
%endif
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user