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=7fe8550e8ad8cf44a36958aeaeecf89014af71f0;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 (cherry picked from commit 62929c24b639674ab6194234398e49fa3ed8378e) --- diff --git a/net/freeswitch/Makefile b/net/freeswitch/Makefile index 62896f4..f38d4e6 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 + # Allow compiling with OpenSSL 3.0 TARGET_CFLAGS+=-Wno-error=deprecated-declarations