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 <cotequeiroz@gmail.com>
This commit is contained in:
Eneas U de Queiroz 2023-02-09 15:32:06 -03:00
parent b1bfd7d375
commit 09ad78b6cc
No known key found for this signature in database
GPG key ID: 5FB9FAF260B80AEA

View 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=" \