autotools: use custom build rule to build iwMMXt code
authorMatt Turner <mattst88@gmail.com>
Wed, 30 May 2012 20:26:32 +0000 (16:26 -0400)
committerMatt Turner <mattst88@gmail.com>
Sat, 9 Jun 2012 20:57:16 +0000 (16:57 -0400)
commit31a6563ec5167d6b15fdb8c158a71ab4f97015ab
treecaf9e3a76cd5ebdac22ef9479bacfd0871ec9851
parent706bf8264cb48aac36e36ff5e23f0ad8a47ff73c
autotools: use custom build rule to build iwMMXt code

gcc has no sane way of enabling iwmmxt code generation, like -msse for
SSE, so you have to use -march=iwmmxt{,2}. User CFLAGS are placed after
-march=iwmmxt and override the march value, so we have to use a custom
build rule to order the CFLAGS such that pixman-mmx.c will be built with
the necessary CFLAGS.
configure.ac
pixman/Makefile.am