summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEneas U de Queiroz <cotequeiroz@gmail.com>2023-02-09 15:32:06 -0300
committerEneas U de Queiroz <cotequeiroz@gmail.com>2023-02-10 18:20:35 -0300
commit09ad78b6cce247f4e610be006d89dfe70003aa58 (patch)
treeaddf91a58c675320e0fe733b4d6e1ecc7dc75382
parentb1bfd7d3759476f95f237f7c44fcc1d2196afd20 (diff)
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>
-rw-r--r--net/freeswitch/Makefile3
1 files changed, 3 insertions, 0 deletions
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=" \