commit 50bad583daf990e58b4e5f1eff72180c4684f71a
Author: Jan RÄ™korajski <[email protected]>
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

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to