3
0
Fork 0
forked from mirrors/nixpkgs

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
libc = if libcCross != null then libcCross else stdenv.glibc;
gnu_h = "gcc/config/gnu.h";
i386_gnu_h = "gcc/config/i386/gnu.h";
i386_gnu_h = "gcc/config/i386/gnu-user.h";
extraCPPDeps =
libc.propagatedBuildInputs
++ stdenv.lib.optional (libpthreadCross != null) libpthreadCross