temporarily disable hard gcc version check

This commit is contained in:
Nick Clifton 2024-01-15 10:05:28 +00:00
parent 7c96faca28
commit 7e0b254b14

View File

@ -36,9 +36,9 @@ URL: https://sourceware.org/annobin/
# Set this to zero to disable the requirement for a specific version of gcc.
# This should only be needed if there is some kind of problem with the version
# checking logic or when building on RHEL-7 or earlier.
%global with_hard_gcc_version_requirement 1
%global with_hard_gcc_version_requirement 0
%bcond_without plugin_rebuild
%bcond_with plugin_rebuild
# Allow the building of annobin without using annobin itself.
# This is because if we are bootstrapping a new build environment we can have
# a new version of gcc installed, but without a new of annobin installed.
@ -50,12 +50,14 @@ URL: https://sourceware.org/annobin/
#
# The default is to use plugin during rebuilds (cf BZ 1630550) but this can
# be changed because of the need to be able to rebuild annobin when a change
# to gcc breaks the version installed into the buildroot. Mote however that
# to gcc breaks the version installed into the buildroot. Note however that
# uncommenting the lines below will result in annocheck not passing the rpminspect
# tests....
# %%if %%{without plugin_rebuild}
%if %{without plugin_rebuild}
%undefine _annotated_build
# %%endif
%endif
#---------------------------------------------------------------------------------