From b40893b326352a149b7188bf433ec8d058988776 Mon Sep 17 00:00:00 2001 From: wangyaoyong Date: Fri, 22 Mar 2024 01:47:54 +0800 Subject: [PATCH] support export CC to compile with clang Signed-off-by: wangyaoyong --- gnutls.spec | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/gnutls.spec b/gnutls.spec index 86a221e..4008f5f 100644 --- a/gnutls.spec +++ b/gnutls.spec @@ -1,6 +1,6 @@ Name: gnutls Version: 3.8.2 -Release: 2 +Release: 3 Summary: The GNU Secure Communication Protocol Library License: LGPLv2.1+ and GPLv3+ @@ -121,8 +121,10 @@ echo "SYSTEM=NORMAL" >> tests/system.prio # via the crypto policies %build -CCASFLAGS="$CCASFLAGS -Wa,--generate-missing-build-notes=yes" -export CCASFLAGS +%if "%toolchain" == "gcc" + 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 @@ -260,6 +262,9 @@ make check %{?_smp_mflags} - libgnutls: Add API functions to perform ECDH and DH key agreement. - libgnutls: Fix timing side-channel inside RSA-PSK key exchange(CVE-2023-5981). +* Fri Mar 22 2024 wangyaoyong 3.8.0-4 +- support change CC to compile with clang + * Wed Jan 17 2024 xuraoqing - 3.8.0-3 - fix CVE-2024-0553 and CVE-2024-0567 -- Gitee