Merge pull request #107961 from KAction/par-static
par: fix static build
This commit is contained in:
commit
dbb48b45a5
|
@ -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