misc: Remove almost all uses of stdenv.{ccCross,binutils}

This commit is contained in:
John Ericson
2017-06-22 17:53:52 -04:00
committed by John Ericson
parent d016637629
commit 12795a7068
9 changed files with 14 additions and 16 deletions
+1 -1
View File
@@ -404,7 +404,7 @@ stdenv.mkDerivation ({
NM_FOR_TARGET = "${targetPlatform.config}-nm";
CXX_FOR_TARGET = "${targetPlatform.config}-g++";
# If we are making a cross compiler, cross != null
NIX_CC_CROSS = if targetPlatform == hostPlatform then "${stdenv.ccCross}" else "";
NIX_CC_CROSS = optionalString (targetPlatform == hostPlatform) builtins.toString stdenv.cc;
dontStrip = true;
configureFlags = ''
${if enableMultilib then "" else "--disable-multilib"}