[packages] freeswitch - diable asm instructions on ppc as they dont compile

git-svn-id: svn://svn.openwrt.org/openwrt/packages@33189 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
blogic 2012-08-14 18:23:29 +00:00
parent a227dec326
commit fe9288b6a0

View File

@ -0,0 +1,13 @@
Index: freeswitch-1.0.7/libs/spandsp/src/spandsp/fast_convert.h
===================================================================
--- freeswitch-1.0.7.orig/libs/spandsp/src/spandsp/fast_convert.h 2012-08-14 19:52:20.000000000 +0200
+++ freeswitch-1.0.7/libs/spandsp/src/spandsp/fast_convert.h 2012-08-14 19:53:01.000000000 +0200
@@ -195,7 +195,7 @@
{
return (long int) (x);
}
-#elif defined(__ppc__) || defined(__powerpc__)
+#elif 0 /* defined(__ppc__) || defined(__powerpc__) */
static __inline__ long int lfastrint(register double x)
{
int res[2];