Merge "Fix compile error for old versions of GCC."

This commit is contained in:
Jenkins2
2017-08-04 12:03:23 -05:00
committed by Gerrit Code Review
6 changed files with 34 additions and 21 deletions

View File

@@ -29,7 +29,7 @@ $(call MOD_ADD_C,chan_pjsip,$(wildcard pjsip/*.c))
$(call MOD_ADD_C,chan_dahdi,$(wildcard dahdi/*.c) sig_analog.c sig_pri.c sig_ss7.c)
$(call MOD_ADD_C,chan_misdn,misdn_config.c misdn/isdn_lib.c misdn/isdn_msg_parser.c)
chan_mgcp.o: _ASTCFLAGS+=-Wno-format-truncation
chan_mgcp.o: _ASTCFLAGS+=$(AST_NO_FORMAT_TRUNCATION)
chan_misdn.o: _ASTCFLAGS+=-Imisdn
misdn_config.o: _ASTCFLAGS+=-Imisdn