fontconfig: fix cross-compilation patch
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 25 Jun 2010 09:44:07 +0000 (11:44 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 7 Jul 2010 06:14:39 +0000 (08:14 +0200)
commitdaa537c3349b54e59a3e06a4ecb0d086add7f5de
tree0543332ccc3a59524dfd879db4d83bd43f3839aa
parent77b5b803c7ae4298b885d6b2e0b7506804943669
fontconfig: fix cross-compilation patch

The existing cross-compilation patch works with our not completely
correct TARGET_CONFIGURE_OPTS. With the correct variables (CFLAGS,
LDFLAGS) being passed, fontconfig was trying to use target
CFLAGS/LDFLAGS when building tools for the host.

This updated patch fixes that problem by correctly using the
CC_FOR_BUILD, CFLAGS_FOR_BUILD variables.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/fontconfig/fontconfig-2.6.0-use_for_build.patch