[asterisk-commits] seanbright: trunk r153507 - /trunk/channels/Makefile

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sat Nov 1 23:14:20 CDT 2008


Author: seanbright
Date: Sat Nov  1 23:14:20 2008
New Revision: 153507

URL: http://svn.digium.com/view/asterisk?view=rev&rev=153507
Log:
There is a troublesome assert() in the alsa/control.h header that causes
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.

Modified:
    trunk/channels/Makefile

Modified: trunk/channels/Makefile
URL: http://svn.digium.com/view/asterisk/trunk/channels/Makefile?view=diff&rev=153507&r1=153506&r2=153507
==============================================================================
--- trunk/channels/Makefile (original)
+++ trunk/channels/Makefile Sat Nov  1 23:14:20 2008
@@ -105,5 +105,6 @@
 chan_usbradio.o: ./xpmr/xpmr.c ./xpmr/xpmr.h ./xpmr/xpmr_coef.h
 
 chan_usbradio.so: LIBS+=-lusb -lasound
+chan_usbradio.so: ASTCFLAGS+=-DNDEBUG
 
 




More information about the asterisk-commits mailing list