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 #3294
This commit is contained in:
@@ -38,6 +38,15 @@ BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n)
|
||||
%define with_lto 0
|
||||
%endif
|
||||
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
|
Reference in New Issue
Block a user