Fixed Clang parameters patching.

This commit is contained in:
Vitaly Zaitsev 2020-06-03 17:14:38 +02:00
parent 6c2959abed
commit 1f0dcea315
No known key found for this signature in database
GPG Key ID: BF99FC6DD45AB90A

View File

@ -1,7 +1,7 @@
%bcond_without clang
%if %{with clang}
%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
Name: mtxclient