freeswitch: workaround compile fail with gcc 12 773/head
authorSebastian Kemper <sebastian_ml@gmx.net>
Sun, 12 Jun 2022 08:05:30 +0000 (10:05 +0200)
committerSebastian Kemper <sebastian_ml@gmx.net>
Sun, 12 Jun 2022 08:10:44 +0000 (10:10 +0200)
An issue report already exists upstream [1].

[1] https://github.com/signalwire/freeswitch/issues/1670

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
net/freeswitch/Makefile

index 799ccb02b52d0d449d33a77a4d24937d0c420e2b..b63adb7b9a4f24752513ec5d7dadab714e8d378a 100644 (file)
@@ -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=" \