summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorCorey Farrell <git@cfware.com>2017-08-03 12:30:12 -0400
committerCorey Farrell <git@cfware.com>2017-08-03 12:30:12 -0400
commitffdc291ddbded023b1a37413732eb8c95f000ed8 (patch)
treef399e7d2a2c5c1c3ad8634f7aeb46f769addc837 /apps
parent9d8f7bf9b5ecaccca88c165a30d61a4c806516b3 (diff)
Fix compile error for old versions of GCC.
Use -Wno-format-truncation only if supported by compiler. ASTERISK-27171 #close Change-Id: Iac0aed7a5bcaa16c21b7d62c4e4678d244c4ccb6
Diffstat (limited to 'apps')
-rw-r--r--apps/Makefile2
1 files changed, 1 insertions, 1 deletions
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