mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
convertlit: disable format hardening
This commit is contained in:
parent
847f9994e4
commit
7423e029a2
1 changed files with 9 additions and 7 deletions
|
@ -1,22 +1,24 @@
|
|||
{stdenv, fetchurl, unzip, libtommath}:
|
||||
{stdenv, fetchzip, libtommath}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "convertlit-1.8";
|
||||
|
||||
src = fetchurl {
|
||||
|
||||
src = fetchzip {
|
||||
url = http://www.convertlit.com/convertlit18src.zip;
|
||||
sha256 = "1fjpwncyc2r3ipav7c9m7jxy6i7mphbyqj3gsm046425p7sqa2np";
|
||||
sha256 = "182nsin7qscgbw2h92m0zadh3h8q410h5cza6v486yjfvla3dxjx";
|
||||
stripRoot = false;
|
||||
};
|
||||
|
||||
buildInputs = [unzip libtommath];
|
||||
buildInputs = [libtommath];
|
||||
|
||||
sourceRoot = ".";
|
||||
hardeningDisable = [ "format" ];
|
||||
|
||||
buildPhase = ''
|
||||
cd lib
|
||||
make
|
||||
cd ../clit18
|
||||
substituteInPlace Makefile --replace ../libtommath-0.30/libtommath.a -ltommath
|
||||
substituteInPlace Makefile \
|
||||
--replace ../libtommath-0.30/libtommath.a -ltommath
|
||||
make
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue