par: fix static build

This change causes rebuild of both glibc and musl dynamic variants, but
no cascade rebuilds.
This commit is contained in:
Dmitry Bogatov
2021-01-12 00:00:00 +00:00
parent 29b658e67e
commit a5f92046ce
+6 -1
View File
@@ -18,7 +18,12 @@ 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