Require gcc with BTI mitigation support

(cherry picked from commit 8905340413)
This commit is contained in:
Simon Gaiser 2018-03-02 15:19:54 +01:00
parent 23e008a57f
commit 7ac215aaba

View File

@ -53,6 +53,14 @@ BuildRequires: bc
BuildRequires: openssl-devel
BuildRequires: gcc-plugin-devel
BuildRequires: elfutils-libelf-devel
# gcc with support for BTI mitigation
%if 0%{?fedora} == 23
BuildRequires: gcc >= 5.3.1-6.qubes1
%else
BuildRequires: gcc >= 6.4.1-1.qubes1
%endif
Provides: multiversion(kernel)
Provides: %name = %kernelrelease