Author: ludo
Date: Mon Mar 28 16:11:16 2011
New Revision: 26579
URL: https://svn.nixos.org/websvn/nix/?rev=26579&sc=1
Log:
GCC 4.5.2: Don't use the `install-strip' target, which wasn't available.
Modified:
nixpkgs/branches/stdenv-updates/pkgs/development/compilers/gcc-4.5/default.nix
Modified:
nixpkgs/branches/stdenv-updates/pkgs/development/compilers/gcc-4.5/default.nix
==============================================================================
---
nixpkgs/branches/stdenv-updates/pkgs/development/compilers/gcc-4.5/default.nix
Mon Mar 28 16:11:12 2011 (r26578)
+++
nixpkgs/branches/stdenv-updates/pkgs/development/compilers/gcc-4.5/default.nix
Mon Mar 28 16:11:16 2011 (r26579)
@@ -260,11 +260,6 @@
targetConfig = if (cross != null) then cross.config else null;
- installTargets =
- if stripped
- then "install-strip"
- else "install";
-
crossAttrs = {
AR = "${stdenv.cross.config}-ar";
LD = "${stdenv.cross.config}-ld";
@@ -399,6 +394,8 @@
installTargets = "install-gcc install-target-libgcc";
}
+# GCC 4.5.2 doesn't support the `install-strip' target, so let `stdenv' do
+# the stripping by default.
// optionalAttrs (!stripped) { dontStrip = true; NIX_STRIP_DEBUG = false; }
// optionalAttrs langVhdl rec {
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits