Package: clutter
Severity: normal
Version: 0.6.2-1
User: [EMAIL PROTECTED]
Usertags: eabi

Looking at the failed build log:

http://buildd.debian.org/fetch.cgi?pkg=clutter;ver=0.6.2-1;arch=armel;stamp=1207237671

and from clutter-fixed.c:

#if __arm__
    /* This actually requires at least arm v5, but gcc does not seem
     * to set the architecture defines correctly, and it is I think
     * very unlikely that anyone will want to use clutter on anything
     * less than v5.
     */

So let it be then, tell the compiler we want armv5t on arm. Also
looking at the code, it, seems you don't need 100% accurate math.
Then setting -ffast-math would be a very good idea.

--- debian/rules.orig   2008-04-27 18:04:44.000000000 +0300
+++ debian/rules        2008-04-27 18:05:23.000000000 +0300
@@ -9,4 +9,9 @@
 DEB_COMPRESS_EXCLUDE = .c
 DEB_CONFIGURE_EXTRA_FLAGS := --enable-gtk-doc

+CPU=$(shell dpkg-architecture -qDEB_HOST_ARCH_CPU)
+ifeq ($(CPU),arm)
+DEB_CONFIGURE_SCRIPT_ENV += CFLAGS="-march=armv5t"
+endif
+
 common-binary-predeb-arch:: list-missing

-- 
"rm -rf" only sounds scary if you don't have backups



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to