Fix gcc dependency and add gcc-c++ for building GCC hardened plugins
This commit is contained in:
parent
d60bf26858
commit
9364d55427
@ -58,10 +58,15 @@ BuildRequires: flex
|
|||||||
# gcc with support for BTI mitigation
|
# gcc with support for BTI mitigation
|
||||||
%if 0%{?fedora} == 23
|
%if 0%{?fedora} == 23
|
||||||
BuildRequires: gcc >= 5.3.1-6.qubes1
|
BuildRequires: gcc >= 5.3.1-6.qubes1
|
||||||
%else
|
%elif 0%{?fedora} == 25
|
||||||
BuildRequires: gcc >= 6.4.1-1.qubes1
|
BuildRequires: gcc >= 6.4.1-1.qubes1
|
||||||
|
%else
|
||||||
|
BuildRequires: gcc
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
# Needed for building GCC hardened plugins
|
||||||
|
BuildRequires: gcc-c++
|
||||||
|
|
||||||
Provides: multiversion(kernel)
|
Provides: multiversion(kernel)
|
||||||
Provides: %name = %kernelrelease
|
Provides: %name = %kernelrelease
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user