diff options
Diffstat (limited to 'source-builder/config')
-rw-r--r-- | source-builder/config/gcc-common-1.cfg | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source-builder/config/gcc-common-1.cfg b/source-builder/config/gcc-common-1.cfg index 0bf59b6..eafd958 100644 --- a/source-builder/config/gcc-common-1.cfg +++ b/source-builder/config/gcc-common-1.cfg @@ -42,6 +42,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. # %prep |