From cdf3e0e90434ab7e412266b6f7981232abdf1fcd Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 12 Jan 2024 21:32:42 +0100 Subject: [PATCH] added build flags for i586 arch [release 3.5.1-2mamba;Fri Jan 12 2024] --- mbedtls.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/mbedtls.spec b/mbedtls.spec index 5f96e8b..3f835da 100644 --- a/mbedtls.spec +++ b/mbedtls.spec @@ -1,6 +1,6 @@ Name: mbedtls Version: 3.5.1 -Release: 1mamba +Release: 2mamba Summary: A C library that implements cryptographic primitives, X.509 certificate manipulation and the SSL/TLS and DTLS protocols Group: System/Libraries Vendor: openmamba @@ -54,6 +54,9 @@ export CXX=/usr/bin/clang++ %cmake -d build \ -DUSE_SHARED_MBEDTLS_LIBRARY=ON \ +%ifarch %{ix86} + -DCMAKE_C_FLAGS="%{optflags} -mpclmul -msse2 -maes" \ +%endif %ifnarch x86_64 aarch64 -DENABLE_TESTING=OFF %endif @@ -106,6 +109,9 @@ chmod +x %{buildroot}%{_libdir}/lib*.so* %doc ChangeLog README.md %changelog +* Fri Jan 12 2024 Silvan Calarco 3.5.1-2mamba +- added build flags for i586 arch + * Thu Nov 09 2023 Automatic Build System 3.5.1-1mamba - automatic version update by autodist