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 /channels | |
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 'channels')
-rw-r--r-- | channels/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/Makefile b/channels/Makefile index 375400757..fdc139089 100644 --- a/channels/Makefile +++ b/channels/Makefile @@ -49,7 +49,7 @@ CHAN_DAHDI_OBJS= \ chan_dahdi.so: $(CHAN_DAHDI_OBJS) $(CHAN_DAHDI_OBJS): _ASTCFLAGS+=$(call MOD_ASTCFLAGS,chan_dahdi) -chan_mgcp.o: _ASTCFLAGS+=-Wno-format-truncation +chan_mgcp.o: _ASTCFLAGS+=$(AST_NO_FORMAT_TRUNCATION) chan_misdn.o: _ASTCFLAGS+=-Imisdn |