summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Kemper2022-06-12 08:05:30 +0000
committerSebastian Kemper2022-06-12 08:10:44 +0000
commit62929c24b639674ab6194234398e49fa3ed8378e (patch)
tree1ee730a99f5fae025b5b86a923162377181db2aa
parentce64b9c01a652ec870cb68901275a00b58fc9cc6 (diff)
downloadtelephony-62929c24b639674ab6194234398e49fa3ed8378e.tar.gz
freeswitch: workaround compile fail with gcc 12
An issue report already exists upstream [1]. [1] https://github.com/signalwire/freeswitch/issues/1670 Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
-rw-r--r--net/freeswitch/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/freeswitch/Makefile b/net/freeswitch/Makefile
index 799ccb0..b63adb7 100644
--- a/net/freeswitch/Makefile
+++ b/net/freeswitch/Makefile
@@ -237,6 +237,9 @@ FS_PERL_FEED:=$(TOPDIR)/feeds/packages/lang/perl
include $(TOPDIR)/feeds/packages/lang/python/python3-version.mk
include $(FS_PERL_FEED)/perlver.mk
+# https://github.com/signalwire/freeswitch/issues/1670
+TARGET_CFLAGS+=-Wno-error=address
+
PERL_SITELIB:=/usr/lib/perl$(PERL_MAJOR)/$(PERL_VERSION2)
FS_PERL_LIBS:=$(shell grep "^libs=" \