freetype: making it crossbuild fine for mips.

I think at some point the unwrapped build system gcc got into the PATH,
and that breaks some cross-builds, because the configure scripts now
choose the unwrapped gcc instead of the wrapped.
I'll search when it happened and how to overcome this better.
This commit is contained in:
Lluís Batlle i Rossell 2012-10-20 10:52:09 +02:00
parent 35a3fc060a
commit c91bb2ed64

View File

@ -31,6 +31,13 @@ stdenv.mkDerivation rec {
ln -s freetype2/freetype $out/include/freetype
'';
crossAttrs = {
# Somehow it calls the unwrapped gcc, "i686-pc-linux-gnu-gcc", instead
# of gcc. I think it's due to the unwrapped gcc being in the PATH. I don't
# know why it's on the PATH.
configureFlags = "--disable-static CC_BUILD=gcc";
};
meta = {
description = "A font rendering engine";
homepage = http://www.freetype.org/;