Merge pull request #107961 from KAction/par-static

par: fix static build
This commit is contained in:
Jörg Thalheim
2021-01-13 09:05:40 +00:00
committed by GitHub

View File

@@ -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