3
0
Fork 0
forked from mirrors/nixpkgs

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 2020-11-24 00:00:00 -05:00
parent 29b658e67e
commit a5f92046ce

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