Switched back to GCC.
This commit is contained in:
parent
7d38a23217
commit
1531a43be0
@ -1,9 +1,13 @@
|
|||||||
%undefine __cmake_in_source_build
|
%undefine __cmake_in_source_build
|
||||||
%bcond_without clang
|
%bcond_with clang
|
||||||
|
|
||||||
%if %{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/')
|
%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
|
||||||
|
%endif
|
||||||
|
|
||||||
Name: nheko
|
Name: nheko
|
||||||
Version: 0.7.2
|
Version: 0.7.2
|
||||||
|
Loading…
Reference in New Issue
Block a user