Build with OpenSSL 3.0 (ignore deprecated functions)

This commit is contained in:
Jakub Jelen 2021-10-11 13:50:24 +02:00
parent 2a7b386f35
commit 2aebc2fc53

View File

@ -74,7 +74,7 @@ sed -i -e 's/opensc.conf/opensc-%{_arch}.conf/g' src/libopensc/Makefile.in
%endif
sed -i -e 's|"/lib /usr/lib\b|"/%{_lib} %{_libdir}|' configure # lib64 rpaths
%set_build_flags
CFLAGS="$CFLAGS -Wstrict-aliasing=2"
CFLAGS="$CFLAGS -Wstrict-aliasing=2 -Wno-deprecated-declarations"
%configure --disable-static \
--disable-autostart-items \
--disable-notify \