From a3d1df163d6f34021edbe066334cdadbf94ec097 Mon Sep 17 00:00:00 2001 From: wangyaoyong Date: Tue, 26 Mar 2024 19:50:11 +0800 Subject: [PATCH] support change CC to compile with clang Signed-off-by: wangyaoyong --- gnutls.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gnutls.spec b/gnutls.spec index d741997..0a66055 100644 --- a/gnutls.spec +++ b/gnutls.spec @@ -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 - 3.8.2-4 +- support change CC to compile with clang + * Fri Mar 22 2024 xuraoqing - 3.8.2-3 - fix CVE-2024-28834 and CVE-2024-28835 -- Gitee