gdb: fix clang build

wip/yesman
Daiderd Jordan 7 years ago
parent 2adf36ab8c
commit bc5160eacd
No known key found for this signature in database
GPG Key ID: D02435D05B810C96
  1. 7
      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

Loading…
Cancel
Save