From 10095a3bc57b44dcdefefe806769344d336b7d56 Mon Sep 17 00:00:00 2001 From: yixiangzhike Date: Fri, 5 Sep 2025 15:18:51 +0800 Subject: [PATCH] define LDFLAGS to provide required link options for compiling (cherry picked from commit 018d5cfa137090d71dd8ac195d235a2e564aa2f2) --- libtomcrypt.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libtomcrypt.spec b/libtomcrypt.spec index 94c1a8e..a6f6f94 100644 --- a/libtomcrypt.spec +++ b/libtomcrypt.spec @@ -1,6 +1,6 @@ Name: libtomcrypt Version: 1.18.2 -Release: 7 +Release: 8 Summary: A comprehensive, portable cryptographic toolkit License: Public Domain or WTFPL URL: http://www.libtom.net/ @@ -31,6 +31,7 @@ using libtomcrypt. %build export CFLAGS="%{build_cflags} -DLTM_DESC -DUSE_LTM" +export LDFLAGS="%{build_ldflags}" make %{?_smp_mflags} LIBPATH=%{_libdir} INCPATH="%{_includedir}" PREFIX="%{_prefix}" EXTRALIBS="-ltommath" -f makefile.shared %install @@ -57,6 +58,9 @@ make test %{_libdir}/pkgconfig/*.pc %changelog +* Fri Sep 5 2025 yixiangzhike - 1.18.2-8 +- define LDFLAGS to provide required link options for compiling + * Fri Aug 29 2025 yixiangzhike - 1.18.2-7 - backport upstream patch to fix compiler warning -- Gitee