]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Don't treat warnings as errors for muted.
authorRussell Bryant <russell@russellbryant.com>
Tue, 16 Mar 2010 19:00:43 +0000 (19:00 +0000)
committerRussell Bryant <russell@russellbryant.com>
Tue, 16 Mar 2010 19:00:43 +0000 (19:00 +0000)
muted supports OS X, but uses functions marked as deprecated in 10.6.  However,
the functions are still supported, so just ignore the warnings for now and
allow the build to proceed.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@252766 65c4cc65-6c06-0410-ace0-fbb531ad65f3

utils/Makefile

index 380ec775eb84af0d9d211e9c9155e290ed7f3363..b70150d2a1ee0670b34e6bb74da5fea77bd18cbf 100644 (file)
@@ -137,6 +137,7 @@ streamplayer: streamplayer.o
 
 muted: muted.o
 muted: LIBS+=$(AUDIO_LIBS)
+muted: _ASTCFLAGS:=$(filter-out -Werror,$(_ASTCFLAGS))
 
 ifneq ($(wildcard .*.d),)
    include .*.d