There is a troublesome assert() in the alsa/control.h header that causes
authorSean Bright <sean@malleable.com>
Sun, 2 Nov 2008 04:14:20 +0000 (04:14 +0000)
committerSean Bright <sean@malleable.com>
Sun, 2 Nov 2008 04:14:20 +0000 (04:14 +0000)
GCC 4.3.2 to complain that the passed argument will always evaluate to
true.  So to get things to compile, disable assert when building
chan_usbradio.so.

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

channels/Makefile

index 66e2e3f..9081e0c 100644 (file)
@@ -105,5 +105,6 @@ $(if $(filter chan_oss,$(EMBEDDED_MODS)),modules.link,chan_oss.so): console_vide
 chan_usbradio.o: ./xpmr/xpmr.c ./xpmr/xpmr.h ./xpmr/xpmr_coef.h
 
 chan_usbradio.so: LIBS+=-lusb -lasound
+chan_usbradio.so: ASTCFLAGS+=-DNDEBUG