diff --git a/libtomcrypt.spec b/libtomcrypt.spec index 94c1a8e417f6928fdd6bfc78b2a19a82301fe0af..a6f6f9409ef429c1e8116bbef6a3c798dc3096f5 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