mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
abc: export buildFlags in the preBuild
This commit is contained in:
parent
2ae2c92b13
commit
c4190b4894
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue