From: Sean Bright Date: Sun, 2 Nov 2008 04:14:20 +0000 (+0000) Subject: There is a troublesome assert() in the alsa/control.h header that causes X-Git-Tag: 1.6.2.0-beta1~983 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3160f06f31397bbed0b2ece7b1c471f2478f8577;p=thirdparty%2Fasterisk.git 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. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@153507 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/Makefile b/channels/Makefile index 66e2e3ff47..9081e0cf01 100644 --- a/channels/Makefile +++ b/channels/Makefile @@ -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