[packages/cryptlib] - fix build on ix86

baggins baggins at pld-linux.org
Tue Dec 22 23:55:58 CET 2015


commit 50bad583daf990e58b4e5f1eff72180c4684f71a
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Tue Dec 22 23:55:46 2015 +0100

    - fix build on ix86

 cryptlib.spec | 8 ++++++++
 1 file changed, 8 insertions(+)
---
diff --git a/cryptlib.spec b/cryptlib.spec
index 7e1bc52..4d7a7e1 100644
--- a/cryptlib.spec
+++ b/cryptlib.spec
@@ -97,16 +97,24 @@ unzip -q -L -a %{SOURCE0}
 %ifarch x32
 	OPTFLAGS="%{rpmcflags} -DOPENSSL_NO_ASM" \
 %else
+%ifarch %{ix86}
+	OPTFLAGS="%{rpmcflags}" -DUSE_ASM \
+%else
 	OPTFLAGS="%{rpmcflags}" \
 %endif
+%endif
 	CC="%{__cc}"
 
 %{__make} shared \
 %ifarch x32
 	OPTFLAGS="%{rpmcflags} -DOPENSSL_NO_ASM" \
 %else
+%ifarch %{ix86}
+	OPTFLAGS="%{rpmcflags}" -DUSE_ASM \
+%else
 	OPTFLAGS="%{rpmcflags}" \
 %endif
+%endif
 	CC="%{__cc}"
 
 ln -sf libcl.so.%{libver} libcl.so
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/cryptlib.git/commitdiff/50bad583daf990e58b4e5f1eff72180c4684f71a



More information about the pld-cvs-commit mailing list