gdb: fix cross-build
This commit is contained in:
parent
863ceb5891
commit
e4556c275c
@ -1,7 +1,7 @@
|
|||||||
{ stdenv
|
{ stdenv
|
||||||
|
|
||||||
# Build time
|
# Build time
|
||||||
, fetchurl, fetchpatch, pkgconfig, perl, texinfo, setupDebugInfoDirs
|
, fetchurl, fetchpatch, pkgconfig, perl, texinfo, setupDebugInfoDirs, buildPackages
|
||||||
|
|
||||||
# Run time
|
# Run time
|
||||||
, ncurses, readline, gmp, mpfr, expat, zlib, dejagnu
|
, ncurses, readline, gmp, mpfr, expat, zlib, dejagnu
|
||||||
@ -49,6 +49,8 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
propagatedNativeBuildInputs = [ setupDebugInfoDirs ];
|
propagatedNativeBuildInputs = [ setupDebugInfoDirs ];
|
||||||
|
|
||||||
|
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
# darwin build fails with format hardening since v7.12
|
# darwin build fails with format hardening since v7.12
|
||||||
|
Loading…
Reference in New Issue
Block a user