mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-26 23:20:18 +02:00
gdb: build with libipt
This adds support for "record btrace pt" command.
This commit is contained in:
parent
dc4224bc54
commit
e675e2763e
|
@ -4,7 +4,7 @@
|
||||||
, fetchurl, pkgconfig, perl, texinfo, setupDebugInfoDirs, buildPackages
|
, fetchurl, pkgconfig, perl, texinfo, setupDebugInfoDirs, buildPackages
|
||||||
|
|
||||||
# Run time
|
# Run time
|
||||||
, ncurses, readline, gmp, mpfr, expat, zlib, dejagnu
|
, ncurses, readline, gmp, mpfr, expat, libipt, zlib, dejagnu
|
||||||
|
|
||||||
, pythonSupport ? stdenv.hostPlatform == stdenv.buildPlatform && !stdenv.hostPlatform.isCygwin, python3 ? null
|
, pythonSupport ? stdenv.hostPlatform == stdenv.buildPlatform && !stdenv.hostPlatform.isCygwin, python3 ? null
|
||||||
, guile ? null
|
, guile ? null
|
||||||
|
@ -42,7 +42,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig texinfo perl setupDebugInfoDirs ];
|
nativeBuildInputs = [ pkgconfig texinfo perl setupDebugInfoDirs ];
|
||||||
|
|
||||||
buildInputs = [ ncurses readline gmp mpfr expat zlib guile ]
|
buildInputs = [ ncurses readline gmp mpfr expat libipt zlib guile ]
|
||||||
++ stdenv.lib.optional pythonSupport python3
|
++ stdenv.lib.optional pythonSupport python3
|
||||||
++ stdenv.lib.optional doCheck dejagnu;
|
++ stdenv.lib.optional doCheck dejagnu;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue