From 7b81446d2866f2227e92b316377a75e679865c29 Mon Sep 17 00:00:00 2001 From: xuraoqing Date: Mon, 28 Jul 2025 16:39:52 +0800 Subject: [PATCH] disable lto Signed-off-by: xuraoqing (cherry picked from commit 4ce3cfa60a1a28008f95202612261ef86856c399) --- gnutls.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gnutls.spec b/gnutls.spec index 5083911..6c48132 100644 --- a/gnutls.spec +++ b/gnutls.spec @@ -1,6 +1,6 @@ Name: gnutls Version: 3.8.2 -Release: 6 +Release: 7 Summary: The GNU Secure Communication Protocol Library License: LGPLv2.1+ and GPLv3+ @@ -124,6 +124,7 @@ echo "SYSTEM=NORMAL" >> tests/system.prio # via the crypto policies %build +%define _lto_cflags %{nil} %if "%toolchain" != "clang" CCASFLAGS="$CCASFLAGS -Wa,--generate-missing-build-notes=yes" export CCASFLAGS @@ -245,6 +246,9 @@ make check %{?_smp_mflags} %endif %changelog +* Tue Jul 28 2025 xuraoqing - 3.8.2-7 +- disable lto + * Thu Feb 13 2025 xuraoqing - 3.8.2-6 - fix CVE-2024-12243 -- Gitee