From cd79a15b2f9411c6e77f0f6594ff0c46f0ece080 Mon Sep 17 00:00:00 2001 From: Corey Farrell Date: Wed, 2 Aug 2017 15:16:43 -0400 Subject: Fix compile error for old versions of GCC. Use -Wno-format-truncation only if supported by compiler. ASTERISK-27171 #close Change-Id: Iac0aed7a5bcaa16c21b7d62c4e4678d244c4ccb6 --- apps/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps') diff --git a/apps/Makefile b/apps/Makefile index d68817350..d7f755ff1 100644 --- a/apps/Makefile +++ b/apps/Makefile @@ -29,7 +29,7 @@ include $(ASTTOPDIR)/Makefile.moddir_rules $(call MOD_ADD_C,app_confbridge,$(wildcard confbridge/*.c)) -app_voicemail.o: _ASTCFLAGS+=-Wno-format-truncation +app_voicemail.o: _ASTCFLAGS+=$(AST_NO_FORMAT_TRUNCATION) ifneq ($(findstring $(OSARCH), mingw32 cygwin ),) LIBS+= -lres_ael_share.so -lres_monitor.so -lres_speech.so -- cgit v1.2.3