Switched back to GCC.

This commit is contained in:
Vitaly Zaitsev 2020-07-31 10:32:08 +02:00
parent 7d38a23217
commit 1531a43be0
No known key found for this signature in database
GPG Key ID: BF99FC6DD45AB90A
1 changed files with 5 additions and 1 deletions

View File

@ -1,9 +1,13 @@
%undefine __cmake_in_source_build
%bcond_without clang
%bcond_with clang
%if %{with clang}
%if 0%{?fedora} && 0%{?fedora} >= 33
%global toolchain clang
%else
%global optflags %(echo %{optflags} | sed -e 's/-mcet//g' -e 's/-fcf-protection//g' -e 's/-fstack-clash-protection//g' -e 's/$/ -Qunused-arguments -Wno-unknown-warning-option -Wno-deprecated-declarations/')
%endif
%endif
Name: nheko
Version: 0.7.2