Fix gcc dependency and add gcc-c++ for building GCC hardened plugins

This commit is contained in:
Frédéric Pierret (fepitre) 2018-12-24 00:09:25 +01:00
parent d60bf26858
commit 9364d55427

View File

@ -58,10 +58,15 @@ BuildRequires: flex
# gcc with support for BTI mitigation
%if 0%{?fedora} == 23
BuildRequires: gcc >= 5.3.1-6.qubes1
%else
%elif 0%{?fedora} == 25
BuildRequires: gcc >= 6.4.1-1.qubes1
%else
BuildRequires: gcc
%endif
# Needed for building GCC hardened plugins
BuildRequires: gcc-c++
Provides: multiversion(kernel)
Provides: %name = %kernelrelease