diff options
author | Corey Farrell <git@cfware.com> | 2017-08-02 15:16:43 -0400 |
---|---|---|
committer | Corey Farrell <git@cfware.com> | 2017-08-02 18:10:57 -0400 |
commit | 4b03eb5c3822765a49b7ab4b05294ce7c012522b (patch) | |
tree | 78391dbd1c3d36d507608cb8b89772ca3ee9ec52 /channels/Makefile | |
parent | 2be8d91c0f5802a1f9c87b35f8f419e0db1b22d8 (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 'channels/Makefile')
-rw-r--r-- | channels/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/Makefile b/channels/Makefile index ae7107f7c..242d3f46a 100644 --- a/channels/Makefile +++ b/channels/Makefile @@ -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 |