freeswitch: allow building with OpenSSL 3.0
authorEneas U de Queiroz <cotequeiroz@gmail.com>
Thu, 9 Feb 2023 18:32:06 +0000 (15:32 -0300)
committerEneas U de Queiroz <cotequeiroz@gmail.com>
Fri, 10 Feb 2023 21:20:35 +0000 (18:20 -0300)
Add -Wno-error=deprecated-declarations to CFLAGS to allow usage of
deprecated API.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
net/freeswitch/Makefile

index 7cc63c933688cb01ef06add1fea993b45679f38f..ceb048f83015ffa6e1132802c70bbd297b28abe2 100644 (file)
@@ -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=" \