Correct thinkos referencing GTS-14
This commit is contained in:
parent
4cafd64d24
commit
e374874788
10
annobin.spec
10
annobin.spec
@ -1,6 +1,6 @@
|
||||
|
||||
%{?scl_package:%global scl gcc-toolset-14}
|
||||
%global scl_prefix gcc-toolset-14-
|
||||
%{?scl_package:%global scl gcc-toolset-15}
|
||||
%global scl_prefix gcc-toolset-15-
|
||||
BuildRequires: scl-utils-build
|
||||
|
||||
%global __python /usr/bin/python3
|
||||
@ -76,7 +76,7 @@ URL: https://sourceware.org/annobin/
|
||||
# to 0, bump the NVR and rebuild GTS-annobin.
|
||||
%define bootstrapping 1
|
||||
# # FIXME: Temporary - use this to get the annobin plugin into the buildroot.
|
||||
# %%undefine _annotated_build
|
||||
%undefine _annotated_build
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
|
||||
@ -364,12 +364,12 @@ Installs an annobin plugin that can be used by Clang.
|
||||
%if %{bootstrapping}
|
||||
|
||||
# If we are bootstrapping then we will be using the system gcc. But we do
|
||||
# not want to install the newly built GTS-14 annobin plugin into the system
|
||||
# not want to install the newly built GTS-15 annobin plugin into the system
|
||||
# plugin directory. So we hard code a path here.
|
||||
# FIXME: This is going to need to be updated every time we bootstrap. Find
|
||||
# a better way.
|
||||
|
||||
%global GTS_GCC_MAJOR_VERSION 14
|
||||
%global GTS_GCC_MAJOR_VERSION 15
|
||||
|
||||
%global ANNOBIN_GCC_PLUGIN_DIR %{_scl_root}/usr/lib/gcc/%{_target_platform}/%{GTS_GCC_MAJOR_VERSION}/plugin
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user