From: Sebastian Kemper Date: Sun, 12 Jun 2022 08:05:30 +0000 (+0200) Subject: freeswitch: workaround compile fail with gcc 12 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=62929c24b639674ab6194234398e49fa3ed8378e;p=feed%2Ftelephony.git 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 --- 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=" \