support change CC to compile with clang

Signed-off-by: wangyaoyong <yaoyong.oerv@isrc.iscas.ac.cn>
This commit is contained in:
wangyaoyong 2024-03-26 19:50:11 +08:00
parent 1a1a04b548
commit a3d1df163d

View File

@ -1,6 +1,6 @@
Name: gnutls
Version: 3.8.2
Release: 3
Release: 4
Summary: The GNU Secure Communication Protocol Library
License: LGPLv2.1+ and GPLv3+
@ -123,8 +123,10 @@ echo "SYSTEM=NORMAL" >> tests/system.prio
# via the crypto policies
%build
%if "%toolchain" != "clang"
CCASFLAGS="$CCASFLAGS -Wa,--generate-missing-build-notes=yes"
export CCASFLAGS
%endif
# These should be checked by m4/guile.m4 instead of configure.ac
# taking into account of _guile_suffix
@ -243,6 +245,9 @@ make check %{?_smp_mflags}
%endif
%changelog
* Fri Mar 22 2024 wangyaoyong <yaoyong.oerv@isrc.iscas.ac.cn> - 3.8.2-4
- support change CC to compile with clang
* Fri Mar 22 2024 xuraoqing <xuraoqing@huawei.com> - 3.8.2-3
- fix CVE-2024-28834 and CVE-2024-28835