From f76edfb1e1fc458e43b6752db8ff6b184c19f052 Mon Sep 17 00:00:00 2001 From: Nicolas Pierron Date: Tue, 14 Jun 2011 02:39:03 +0000 Subject: [PATCH] gdb: Add support for python instrumentation. svn path=/nixpkgs/trunk/; revision=27446 --- pkgs/development/tools/misc/gdb/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/tools/misc/gdb/default.nix b/pkgs/development/tools/misc/gdb/default.nix index 00aeed1b41b..37d41d42fce 100644 --- a/pkgs/development/tools/misc/gdb/default.nix +++ b/pkgs/development/tools/misc/gdb/default.nix @@ -21,11 +21,12 @@ stdenv.mkDerivation rec { configureFlags = '' --with-gmp=${gmp} --with-mpfr=${mpfr} --with-system-readline - --with-expat --with-libexpat-prefix=${expat} + --with-expat --with-libexpat-prefix=${expat} --with-python '' + stdenv.lib.optionalString (target != null) " --target=${target.config}"; crossAttrs = { + # Do not add --with-python here to avoid cross building it. configureFlags = '' --with-gmp=${gmp.hostDrv} --with-mpfr=${mpfr.hostDrv} --with-system-readline --with-expat --with-libexpat-prefix=${expat.hostDrv}