use gcc and annobin from os for bootstrap

This commit is contained in:
Johnny Hughes 2022-07-20 16:18:02 -05:00
parent a5896362f5
commit ef33472b4a

View File

@ -317,8 +317,8 @@ BuildRequires: automake
# Use the GTS gcc to build the static libraries (libbfd.a libiberty.a) so
# that the version of LTO used matches.
# Note - during GTS bootstrap these have to be changed to the systemOS versions.
BuildRequires: %{?scl_prefix}gcc
BuildRequires: %{?scl_prefix}annobin-plugin-gcc
BuildRequires: gcc
BuildRequires: annobin-plugin-gcc
%define gcc_for_libraries %{?_scl_root}/usr/bin/gcc
# Note - during GTS bootstrap it may be necessary to build the binutils without
# annobin annotations.