Disable automatic call to %set_build_flags

The flags set by this macro break the build on Fedora 36.

https://fedoraproject.org/wiki/Changes/SetBuildFlagsBuildCheck

Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
This commit is contained in:
Radostin Stoyanov 2022-02-02 11:24:45 +00:00
parent 9d9b0fbcbe
commit ee1da30e2b
No known key found for this signature in database
GPG Key ID: 21C246FD7C1157A7

View File

@ -10,6 +10,11 @@
# parasite code breaks if annobin is enabled.
%undefine _annotated_build
# Disable automatic call to the set_build_flags macro
# at the beginning of the build, check, and install.
# This change was introduced in Fedora 36.
%undefine _auto_set_build_flags
Name: criu
Version: 3.16.1
Release: 6%{?dist}