From 62929c24b639674ab6194234398e49fa3ed8378e Mon Sep 17 00:00:00 2001 From: Sebastian Kemper Date: Sun, 12 Jun 2022 10:05:30 +0200 Subject: [PATCH] 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 --- net/freeswitch/Makefile | 3 +++ 1 file changed, 3 insertions(+) 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=" \ -- 2.30.2