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
1 changed files with 6 additions and 1 deletions
|
@ -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