From a505c5044049477dadaf339fe8ebbf7bb26d14fc Mon Sep 17 00:00:00 2001 From: liyunfei Date: Sun, 4 Feb 2024 17:03:10 +0800 Subject: [PATCH] remove "-Wa,--generate-missing-build-notes=yes" for clang Signed-off-by: liyunfei --- gnutls.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gnutls.spec b/gnutls.spec index 86a221e..a9063a2 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 +%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 @@ -241,6 +243,9 @@ make check %{?_smp_mflags} %endif %changelog +* Thu Mar 21 2024 liyunfei - 3.8.2-3 +- remove "-Wa,--generate-missing-build-notes=yes" for clang + * Wed Feb 28 2024 duyiwei - 3.8.2-2 - detach the sub package gnutls-utils and gnutls-dane from gnutls -- Gitee