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
|
@ -238,6 +238,7 @@ stdenv.mkDerivation ({
|
||||||
CXX_FOR_TARGET = "${stdenv.cross.config}-g++";
|
CXX_FOR_TARGET = "${stdenv.cross.config}-g++";
|
||||||
# If we are making a cross compiler, cross != null
|
# If we are making a cross compiler, cross != null
|
||||||
NIX_GCC_CROSS = if cross == null then "${stdenv.gccCross}" else "";
|
NIX_GCC_CROSS = if cross == null then "${stdenv.gccCross}" else "";
|
||||||
|
dontStrip = true;
|
||||||
configureFlags = "
|
configureFlags = "
|
||||||
${if enableMultilib then "" else "--disable-multilib"}
|
${if enableMultilib then "" else "--disable-multilib"}
|
||||||
${if enableShared then "" else "--disable-shared"}
|
${if enableShared then "" else "--disable-shared"}
|
||||||
|
|
Loading…
Reference in New Issue