lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

libtomcrypt: enable libtommath flags

+5 -3
+5 -3
pkgs/development/libraries/libtomcrypt/default.nix
··· 1 - { lib, stdenv, fetchurl, fetchpatch, libtool }: 1 + { lib, stdenv, fetchurl, fetchpatch, libtool, libtommath }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "libtomcrypt"; ··· 17 17 }) 18 18 ]; 19 19 20 - nativeBuildInputs = [ libtool ]; 20 + nativeBuildInputs = [ libtool libtommath ]; 21 21 22 22 postPatch = '' 23 23 substituteInPlace makefile.shared --replace "LT:=glibtool" "LT:=libtool" 24 24 ''; 25 25 26 26 preBuild = '' 27 - makeFlagsArray=(PREFIX=$out \ 27 + makeFlagsArray+=(PREFIX=$out \ 28 + CFLAGS="-DUSE_LTM -DLTM_DESC -DLTC_PTHREAD" \ 29 + EXTRALIBS=\"-ltommath\" \ 28 30 INSTALL_GROUP=$(id -g) \ 29 31 INSTALL_USER=$(id -u)) 30 32 '';