!147 support change CC to compile with clang
From: @wangyaoyong Reviewed-by: @xuraoqing, @zcfsite Signed-off-by: @zcfsite
This commit is contained in:
commit
b933a7630c
@ -1,6 +1,6 @@
|
|||||||
Name: gnutls
|
Name: gnutls
|
||||||
Version: 3.8.2
|
Version: 3.8.2
|
||||||
Release: 3
|
Release: 4
|
||||||
Summary: The GNU Secure Communication Protocol Library
|
Summary: The GNU Secure Communication Protocol Library
|
||||||
|
|
||||||
License: LGPLv2.1+ and GPLv3+
|
License: LGPLv2.1+ and GPLv3+
|
||||||
@ -123,8 +123,10 @@ echo "SYSTEM=NORMAL" >> tests/system.prio
|
|||||||
# via the crypto policies
|
# via the crypto policies
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%if "%toolchain" != "clang"
|
||||||
CCASFLAGS="$CCASFLAGS -Wa,--generate-missing-build-notes=yes"
|
CCASFLAGS="$CCASFLAGS -Wa,--generate-missing-build-notes=yes"
|
||||||
export CCASFLAGS
|
export CCASFLAGS
|
||||||
|
%endif
|
||||||
|
|
||||||
# These should be checked by m4/guile.m4 instead of configure.ac
|
# These should be checked by m4/guile.m4 instead of configure.ac
|
||||||
# taking into account of _guile_suffix
|
# taking into account of _guile_suffix
|
||||||
@ -243,6 +245,9 @@ make check %{?_smp_mflags}
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Mar 22 2024 xuraoqing <xuraoqing@huawei.com> - 3.8.2-3
|
||||||
- fix CVE-2024-28834 and CVE-2024-28835
|
- fix CVE-2024-28834 and CVE-2024-28835
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user