[Pixman] [PATCH] build: Support building Loongson code for 2e, 2f, 3a

Matt Turner mattst88 at gmail.com
Sun Jan 6 18:46:55 PST 2013


On Sat, Sep 15, 2012 at 11:59 PM, Matt Turner <mattst88 at gmail.com> wrote:
> pixman/Makefile.am contains a hack that allows pixman-mmx.c to
> be compiled with different overriding CFLAGS, since automake
> seriously doesn't have a way to do this. Seriously stupid.
>
> It works by defining a new rule and recursively calling make
> with modified CFLAGS set.
>
> Note the difference between the USE_LOONGSON* and HAVE_LOONGSON*
> preprocessor macros.
>
> Cc: Cyril Brulebois <kibi at debian.org>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=51451
> ---

Cyril,

I've updated the patch so that it builds .so files for each
architecture against which pixman links and attached it to the bug
report. Please give it a test. I cannot test it, as my system is
compiled with -march=loongson2f and therefore I cannot even link code
compiled with -march=loongson2e with my C library.


More information about the Pixman mailing list