From 3160f06f31397bbed0b2ece7b1c471f2478f8577 Mon Sep 17 00:00:00 2001 From: Sean Bright <sean@malleable.com> Date: Sun, 2 Nov 2008 04:14:20 +0000 Subject: [PATCH] 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 --- channels/Makefile | 1 + 1 file changed, 1 insertion(+) 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 -- GitLab