gcc 4.7: when cross-building for GNU, patch gnu-user.h', not gnu.h'

This commit is contained in:
Ludovic Courtès 2012-11-29 10:07:10 +01:00
parent 310567b91f
commit 2aea62bd07

View File

@ -181,7 +181,7 @@ stdenv.mkDerivation ({
let let
libc = if libcCross != null then libcCross else stdenv.glibc; libc = if libcCross != null then libcCross else stdenv.glibc;
gnu_h = "gcc/config/gnu.h"; gnu_h = "gcc/config/gnu.h";
i386_gnu_h = "gcc/config/i386/gnu.h"; i386_gnu_h = "gcc/config/i386/gnu-user.h";
extraCPPDeps = extraCPPDeps =
libc.propagatedBuildInputs libc.propagatedBuildInputs
++ stdenv.lib.optional (libpthreadCross != null) libpthreadCross ++ stdenv.lib.optional (libpthreadCross != null) libpthreadCross