libgcc: fix Darwin cross compile
late fallout from 1ac5398: the build variables were changed from infix to suffix notation
commit9b13828f79d95cf50dced03e90706796370738c1
authorMichael Roitzsch <reactorcontrol@icloud.com>
dateMon 15 Jun 2020, 17:32 (6 years ago)
parent63d98ca
pkgs/development/libraries/gcc/libgcc/default.nix+1−1
@@ -63,7 +63,7 @@ stdenvNoLibs.mkDerivation rec {
6363 export CPP_FOR_TARGET=${stdenvNoLibs.cc}/bin/$CPP
6464 export LD_FOR_TARGET=${stdenvNoLibs.cc.bintools}/bin/$LD
6565
66− export NIX_BUILD_CFLAGS_COMPILE+=' -DGENERATOR_FILE=1'
66+ export NIX_CFLAGS_COMPILE_FOR_BUILD+=' -DGENERATOR_FILE=1'
6767
6868 "$sourceRoot/../gcc/configure" $gccConfigureFlags
6969