Fixing the gcc postPatch, for the static stage of the cross-compiler
svn path=/nixpkgs/branches/stdenv-updates/; revision=25215
This commit is contained in:
parent
b8bda4fec0
commit
a360198627
@ -180,7 +180,7 @@ stdenv.mkDerivation ({
|
|||||||
# On NixOS, use the right path to the dynamic linker instead of
|
# On NixOS, use the right path to the dynamic linker instead of
|
||||||
# `/lib/ld*.so'.
|
# `/lib/ld*.so'.
|
||||||
let
|
let
|
||||||
libc = if cross != null then libcCross else stdenv.gcc.libc;
|
libc = if (cross != null && libcCross != null) then libcCross else stdenv.gcc.libc;
|
||||||
in
|
in
|
||||||
'' echo "fixing the \`GLIBC_DYNAMIC_LINKER' and \`UCLIBC_DYNAMIC_LINKER' macros..."
|
'' echo "fixing the \`GLIBC_DYNAMIC_LINKER' and \`UCLIBC_DYNAMIC_LINKER' macros..."
|
||||||
for header in "gcc/config/"*-gnu.h "gcc/config/"*"/"*.h
|
for header in "gcc/config/"*-gnu.h "gcc/config/"*"/"*.h
|
||||||
|
Loading…
x
Reference in New Issue
Block a user