abc: export buildFlags in the preBuild

This commit is contained in:
John Wiegley 2015-01-02 14:39:30 -06:00 committed by Shea Levy
parent 2ae2c92b13
commit c4190b4894

View file

@ -11,6 +11,9 @@ stdenv.mkDerivation rec {
};
buildInputs = [ readline ];
preBuild = ''
export buildFlags="CC=$CC CXX=$CXX LD=$LD"
'';
enableParallelBuilding = true;
installPhase = ''
mkdir -p $out/bin