gdb: Add support for python instrumentation.

svn path=/nixpkgs/trunk/; revision=27446
This commit is contained in:
Nicolas Pierron 2011-06-14 02:39:03 +00:00
parent 4484bbfdd8
commit f76edfb1e1

View File

@ -21,11 +21,12 @@ stdenv.mkDerivation rec {
configureFlags = configureFlags =
'' --with-gmp=${gmp} --with-mpfr=${mpfr} --with-system-readline '' --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) '' + stdenv.lib.optionalString (target != null)
" --target=${target.config}"; " --target=${target.config}";
crossAttrs = { crossAttrs = {
# Do not add --with-python here to avoid cross building it.
configureFlags = configureFlags =
'' --with-gmp=${gmp.hostDrv} --with-mpfr=${mpfr.hostDrv} --with-system-readline '' --with-gmp=${gmp.hostDrv} --with-mpfr=${mpfr.hostDrv} --with-system-readline
--with-expat --with-libexpat-prefix=${expat.hostDrv} --with-expat --with-libexpat-prefix=${expat.hostDrv}