mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
gdb: Add support for python instrumentation.
svn path=/nixpkgs/trunk/; revision=27446
This commit is contained in:
parent
4484bbfdd8
commit
f76edfb1e1
@ -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}
|
||||||
|
Loading…
Reference in New Issue
Block a user