mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Merge pull request #107961 from KAction/par-static
par: fix static build
This commit is contained in:
commit
dbb48b45a5
1 changed files with 4 additions and 1 deletions
|
@ -18,7 +18,10 @@ stdenv.mkDerivation {
|
|||
})
|
||||
];
|
||||
|
||||
buildPhase = ''make -f protoMakefile'';
|
||||
makefile = "protoMakefile";
|
||||
preBuild = ''
|
||||
makeFlagsArray+=(CC="${stdenv.cc.targetPrefix}cc -c" LINK1=${stdenv.cc.targetPrefix}cc)
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
|
|
Loading…
Reference in a new issue