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:
parent
35a3fc060a
commit
c91bb2ed64
@ -31,6 +31,13 @@ stdenv.mkDerivation rec {
|
|||||||
ln -s freetype2/freetype $out/include/freetype
|
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 = {
|
meta = {
|
||||||
description = "A font rendering engine";
|
description = "A font rendering engine";
|
||||||
homepage = http://www.freetype.org/;
|
homepage = http://www.freetype.org/;
|
||||||
|
Loading…
Reference in New Issue
Block a user