diff options
author | Corey Farrell <git@cfware.com> | 2017-08-03 12:30:31 -0400 |
---|---|---|
committer | Corey Farrell <git@cfware.com> | 2017-08-03 12:30:31 -0400 |
commit | d066758a4c70f0461762d67b7333f78d85843bba (patch) | |
tree | 96d7a6b16e5d9522eff5b13af82ff8eca3cc53b6 /apps | |
parent | ed1bce956e30d9f8ec8defcbae33ea3217dd8fb6 (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/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/Makefile b/apps/Makefile index efc83295b..87e45bb99 100644 --- a/apps/Makefile +++ b/apps/Makefile @@ -30,7 +30,7 @@ include $(ASTTOPDIR)/Makefile.moddir_rules clean:: rm -f confbridge/*.o confbridge/*.i confbridge/*.gcda confbridge/*.gcno -app_voicemail.o: _ASTCFLAGS+=-Wno-format-truncation +app_voicemail.o: _ASTCFLAGS+=$(AST_NO_FORMAT_TRUNCATION) app_confbridge.so: $(subst .c,.o,$(wildcard confbridge/*.c)) $(subst .c,.o,$(wildcard confbridge/*.c)): _ASTCFLAGS+=$(call MOD_ASTCFLAGS,app_confbridge) |