From 0f4673788ef286ab623d95f407d08eb38d97f057 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Sun, 1 Aug 2010 21:27:03 +0000 Subject: [PATCH] Fixing the gcc-4.5 cross-build (the native strip destroys the .a cross-built archives, so we disable it cross building) svn path=/nixpkgs/branches/stdenv-updates/; revision=22854 --- pkgs/development/compilers/gcc-4.5/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/compilers/gcc-4.5/default.nix b/pkgs/development/compilers/gcc-4.5/default.nix index 4c3fd8079af..754cf4ed5ec 100644 --- a/pkgs/development/compilers/gcc-4.5/default.nix +++ b/pkgs/development/compilers/gcc-4.5/default.nix @@ -238,6 +238,7 @@ stdenv.mkDerivation ({ 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"}