about summary refs log tree commit diff
path: root/pkgs/development/tools/misc/gdb
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2017-08-15 17:05:29 +0200
committerDaiderd Jordan <daiderd@gmail.com>2017-08-16 21:38:40 +0200
commit8932357e04d0bc432a7ea9524efc66dcb8b964ab (patch)
tree76f63bf9cf26fc36ec9030b48da762ef32a0ca60 /pkgs/development/tools/misc/gdb
parent5d3527c148f73c43d5dc0e97aeeb0678f78622c2 (diff)
gdb: remove CPP workaround
Diffstat (limited to 'pkgs/development/tools/misc/gdb')
-rw-r--r--pkgs/development/tools/misc/gdb/default.nix7
1 files changed, 0 insertions, 7 deletions
diff --git a/pkgs/development/tools/misc/gdb/default.nix b/pkgs/development/tools/misc/gdb/default.nix
index 410fd36ef2525..02ff52155b1c2 100644
--- a/pkgs/development/tools/misc/gdb/default.nix
+++ b/pkgs/development/tools/misc/gdb/default.nix
@@ -66,13 +66,6 @@ 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