Author: viric
Date: Sun Aug  1 21:27:03 2010
New Revision: 22854
URL: https://svn.nixos.org/websvn/nix/?rev=22854&sc=1

Log:
Fixing the gcc-4.5 cross-build (the native strip destroys the .a cross-built
archives, so we disable it cross building)

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  
    Sun Aug  1 21:26:10 2010        (r22853)
+++ 
nixpkgs/branches/stdenv-updates/pkgs/development/compilers/gcc-4.5/default.nix  
    Sun Aug  1 21:27:03 2010        (r22854)
@@ -238,6 +238,7 @@
      CXX_FOR_TARGET = "${stdenv.cross.config}-g++";
      # If we are making a cross compiler, cross != null
      NIX_GCC_CROSS = if cross == null then "${stdenv.gccCross}" else "";
+     dontStrip = true;
      configureFlags = "
        ${if enableMultilib then "" else "--disable-multilib"}
        ${if enableShared then "" else "--disable-shared"}
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits

Reply via email to