gcc 4.7: when cross-building for GNU, patch gnu-user.h', not
gnu.h'
This commit is contained in:
parent
310567b91f
commit
2aea62bd07
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user