[packages/ghc-cryptonite] - rel 2, no integer-gmp on x32

baggins baggins at pld-linux.org
Sat May 30 23:13:14 CEST 2020


commit 0e19df748f8fa3193b0126514e966c897eda037a
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat May 30 23:12:56 2020 +0200

    - rel 2, no integer-gmp on x32

 ghc-cryptonite.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/ghc-cryptonite.spec b/ghc-cryptonite.spec
index 73553ef..e63c295 100644
--- a/ghc-cryptonite.spec
+++ b/ghc-cryptonite.spec
@@ -6,7 +6,7 @@
 Summary:	Cryptography Primitives sink
 Name:		ghc-%{pkgname}
 Version:	0.26
-Release:	1
+Release:	2
 License:	BSD
 Group:		Development/Languages
 #Source0Download: http://hackage.haskell.org/package/cryptonite
@@ -68,6 +68,9 @@ kiedy potrzebujemy systemu profilującego z GHC.
 %build
 runhaskell Setup.hs configure -v2 \
 	%{?with_prof:--enable-library-profiling} \
+%ifarch x32
+	--flags="-integer-gmp" \
+%endif
 	--prefix=%{_prefix} \
 	--libdir=%{_libdir} \
 	--libexecdir=%{_libexecdir} \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ghc-cryptonite.git/commitdiff/0e19df748f8fa3193b0126514e966c897eda037a



More information about the pld-cvs-commit mailing list