forked from mirrors/nixpkgs
Merge pull request #146529 from smancill/ZHF-convbin
convbin: fix build on darwin
This commit is contained in:
commit
b86b089c72
|
@ -13,6 +13,10 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "sha256-zCRM62xwaPaN8+cg+CeaqK/9hKpZmSBBeUOQqAvQGYw=";
|
||||
};
|
||||
|
||||
postPatch = lib.optionalString stdenv.isDarwin ''
|
||||
substituteInPlace Makefile --replace "-flto" ""
|
||||
'';
|
||||
|
||||
makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
|
||||
|
||||
checkPhase = ''
|
||||
|
|
Loading…
Reference in a new issue