From 2aebc2fc5358ec772c79436e3169bff54753d908 Mon Sep 17 00:00:00 2001 From: Jakub Jelen Date: Mon, 11 Oct 2021 13:50:24 +0200 Subject: [PATCH] Build with OpenSSL 3.0 (ignore deprecated functions) --- opensc.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opensc.spec b/opensc.spec index cf47b77..bbc58f4 100644 --- a/opensc.spec +++ b/opensc.spec @@ -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 \