From: Eneas U de Queiroz Date: Thu, 9 Feb 2023 18:32:06 +0000 (-0300) Subject: freeswitch: allow building with OpenSSL 3.0 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=09ad78b6cce247f4e610be006d89dfe70003aa58;p=feed%2Ftelephony.git freeswitch: allow building with OpenSSL 3.0 Add -Wno-error=deprecated-declarations to CFLAGS to allow usage of deprecated API. Signed-off-by: Eneas U de Queiroz --- diff --git a/net/freeswitch/Makefile b/net/freeswitch/Makefile index 7cc63c9..ceb048f 100644 --- a/net/freeswitch/Makefile +++ b/net/freeswitch/Makefile @@ -238,6 +238,9 @@ include $(FS_PERL_FEED)/perlver.mk # https://github.com/signalwire/freeswitch/issues/1670 TARGET_CFLAGS+=-Wno-error=address +# Allow compiling with OpenSSL 3.0 +TARGET_CFLAGS+=-Wno-error=deprecated-declarations + PERL_SITELIB:=/usr/lib/perl$(PERL_MAJOR)/$(PERL_VERSION2) FS_PERL_LIBS:=$(shell grep "^libs=" \