Bug#477389: please add support for armel

Riku Voipio riku.voipio at iki.fi
Tue Apr 22 20:45:11 UTC 2008


Package: asterisk
Version: 1:1.4.18.1~dfsg-1
Severity: wishlist
Tags: patch
User: debian-arm at lists.debian.org
Usertags: eabi

armel goes by the gnu string "linux-gnueabi".
Since asterisk tests agains "linux-gnu", compiler
and linker flags are incorrect for linux platform.
The following patch fixes the issues.

-- 
"rm -rf" only sounds scary if you don't have backups
-------------- next part --------------
--- main/Makefile.old	2008-04-22 23:35:17.000000000 +0300
+++ main/Makefile	2008-04-22 23:35:34.000000000 +0300
@@ -52,7 +52,7 @@
   OBJS+=dlfcn.o
 endif
 
-ifneq ($(findstring $(OSARCH), linux-gnu uclinux linux-uclibc ),)
+ifneq ($(findstring $(OSARCH), linux-gnu uclinux linux-uclibc linux-gnueabi),)
   ifneq ($(findstring LOADABLE_MODULES,$(MENUSELECT_CFLAGS)),)
   AST_LIBS+=-ldl
   endif


More information about the Pkg-voip-maintainers mailing list