libgcc: fix Darwin cross compile

late fallout from 1ac5398: the build variables were changed from infix to suffix notation
This commit is contained in:
Michael Roitzsch 2020-06-15 17:32:33 +02:00
parent 63d98cab9b
commit 9b13828f79

View File

@ -63,7 +63,7 @@ stdenvNoLibs.mkDerivation rec {
export CPP_FOR_TARGET=${stdenvNoLibs.cc}/bin/$CPP
export LD_FOR_TARGET=${stdenvNoLibs.cc.bintools}/bin/$LD
export NIX_BUILD_CFLAGS_COMPILE+=' -DGENERATOR_FILE=1'
export NIX_CFLAGS_COMPILE_FOR_BUILD+=' -DGENERATOR_FILE=1'
"$sourceRoot/../gcc/configure" $gccConfigureFlags