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:
parent
29b658e67e
commit
a5f92046ce
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue