added build flags for i586 arch [release 3.5.1-2mamba;Fri Jan 12 2024]
This commit is contained in:
parent
e971e3170f
commit
cdf3e0e904
@ -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 <silvan.calarco@mambasoft.it> 3.5.1-2mamba
|
||||
- added build flags for i586 arch
|
||||
|
||||
* Thu Nov 09 2023 Automatic Build System <autodist@mambasoft.it> 3.5.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user