diff options
author | Daiderd Jordan <daiderd@gmail.com> | 2017-08-09 08:41:48 +0200 |
---|---|---|
committer | Daiderd Jordan <daiderd@gmail.com> | 2017-08-09 08:41:48 +0200 |
commit | bc5160eacde131d83c3a25827963a676d1391abe (patch) | |
tree | bf7559497c32207167318d2cec238ad6ed704cbf /pkgs | |
parent | 2adf36ab8c7903e100e6e7a0a6447934ec09b10e (diff) | |
download | nixlib-bc5160eacde131d83c3a25827963a676d1391abe.tar nixlib-bc5160eacde131d83c3a25827963a676d1391abe.tar.gz nixlib-bc5160eacde131d83c3a25827963a676d1391abe.tar.bz2 nixlib-bc5160eacde131d83c3a25827963a676d1391abe.tar.lz nixlib-bc5160eacde131d83c3a25827963a676d1391abe.tar.xz nixlib-bc5160eacde131d83c3a25827963a676d1391abe.tar.zst nixlib-bc5160eacde131d83c3a25827963a676d1391abe.zip |
gdb: fix clang build
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/tools/misc/gdb/default.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/development/tools/misc/gdb/default.nix b/pkgs/development/tools/misc/gdb/default.nix index 02ff52155b1c..410fd36ef252 100644 --- a/pkgs/development/tools/misc/gdb/default.nix +++ b/pkgs/development/tools/misc/gdb/default.nix @@ -66,6 +66,13 @@ stdenv.mkDerivation rec { ++ stdenv.lib.optional (!pythonSupport) "--without-python" ++ stdenv.lib.optional multitarget "--enable-targets=all"; + preConfigure = + # Not sure why this is causing problems, now that the stdenv + # exports CPP=cpp the build fails with strange errors on darwin. + stdenv.lib.optionalString stdenv.cc.isClang '' + unset CPP + ''; + postInstall = '' # Remove Info files already provided by Binutils and other packages. rm -v $out/share/info/bfd.info |