mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
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
This commit is contained in:
parent
4b79027f45
commit
0f4673788e
1 changed files with 1 additions and 0 deletions
|
@ -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"}
|
||||
|
|
Loading…
Reference in a new issue