mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
gcc: Use the RSB release for released tools.
Using the RSB release version for the gcc version string means the tools have a version string that matches the release. Close #3293
This commit is contained in:
parent
70159fb9e3
commit
f75dd49ce8
@ -20,7 +20,8 @@ package: rtems-%{rtems_version}-%{_target}-%{_host}-%{release}
|
||||
#
|
||||
# Project custom message
|
||||
#
|
||||
%define gcc_version_message RTEMS %{rtems_version}, RSB %{_sbgit_id}, Newlib %{newlib_version}
|
||||
%define rtems_gcc_version %{rtems_version}
|
||||
%define gcc_version_message RTEMS %{rtems_gcc_version}, RSB %{_sbgit_id}, Newlib %{newlib_version}
|
||||
|
||||
#
|
||||
# Pick up the RTEMS URLs.
|
||||
|
@ -41,6 +41,15 @@ BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n)
|
||||
#
|
||||
%define disable_MAKEINFO 1
|
||||
|
||||
#
|
||||
# The GCC version depends on the type of build we are doing.
|
||||
#
|
||||
%if %{rsb_released}
|
||||
%define rtems_gcc_version %{rsb_version}
|
||||
%else
|
||||
%define rtems_gcc_version %{rtems_version}
|
||||
%endif
|
||||
|
||||
#
|
||||
# Prepare the source code.
|
||||
#
|
||||
|
Loading…
x
Reference in New Issue
Block a user