Add support for building with gcc-plugins

This doesn't enable any plugins, only the infrastrucutre for enabling
plugins at a later date.
This commit is contained in:
Laura Abbott 2018-10-01 13:36:07 -07:00
commit 6fed0f232e
19 changed files with 61 additions and 16 deletions

View file

@ -384,7 +384,7 @@ Requires: kernel-modules-uname-r = %{KVERREL}%{?variant}
BuildRequires: kmod, patch, bash, tar, git-core
BuildRequires: bzip2, xz, findutils, gzip, m4, perl-interpreter, perl-Carp, perl-devel, perl-generators, make, diffutils, gawk
BuildRequires: gcc, binutils, redhat-rpm-config, hmaccalc, bison, flex
BuildRequires: net-tools, hostname, bc, elfutils-devel
BuildRequires: net-tools, hostname, bc, elfutils-devel, gcc-plugin-devel
# Used to mangle unversioned shebangs to be Python 3
BuildRequires: /usr/bin/pathfix.py
%if %{with_sparse}