freeswitch: workaround compile fail with gcc 12
authorSebastian Kemper <sebastian_ml@gmx.net>
Sun, 12 Jun 2022 08:05:30 +0000 (10:05 +0200)
committerSebastian Kemper <sebastian_ml@gmx.net>
Tue, 22 Aug 2023 19:51:33 +0000 (21:51 +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>
(cherry picked from commit 62929c24b639674ab6194234398e49fa3ed8378e)

net/freeswitch/Makefile

index 62896f47903602ef8b98821910fa99d0c0c27658..f38d4e601a11ed8316889a1d1ab44246f43e71d6 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
+
 # Allow compiling with OpenSSL 3.0
 TARGET_CFLAGS+=-Wno-error=deprecated-declarations