]> git.pld-linux.org Git - packages/cryptlib.git/commitdiff
- fix build on ix86
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 22 Dec 2015 22:55:46 +0000 (23:55 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Tue, 22 Dec 2015 22:55:46 +0000 (23:55 +0100)
cryptlib.spec

index 7e1bc52401f0520faeb2e8b10dc941a6a839bd2d..4d7a7e14e53dc7a64c06fd209b9f3b785ae06af5 100644 (file)
@@ -96,16 +96,24 @@ unzip -q -L -a %{SOURCE0}
 %{__make} \
 %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}"
 
This page took 0.103778 seconds and 4 git commands to generate.