mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 03:20:57 +00:00
Fix compile error for old versions of GCC.
Use -Wno-format-truncation only if supported by compiler. ASTERISK-27171 #close Change-Id: Iac0aed7a5bcaa16c21b7d62c4e4678d244c4ccb6
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user