gdb: fix clang build

This commit is contained in:
Daiderd Jordan 2017-08-09 08:41:48 +02:00
parent 2adf36ab8c
commit bc5160eacd
No known key found for this signature in database
GPG Key ID: D02435D05B810C96

View File

@ -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