- use default x86 code on i486 (only i386 is exceptional)
Changed files:
openssl.spec -> 1.133
+# conflicts with i386-only DES implementation
+# (missing #ifdef OPENSSL_FIPS ... #endif)
+:> fips/des/asm/fips-dx86-elf.s
+
%build
%{__perl} -pi -e 's#%{_prefix}/local/bin/perl#%{__perl}#g' \
`grep -l -r "%{_prefix}/local/bin/perl" *`
%build
%{__perl} -pi -e 's#%{_prefix}/local/bin/perl#%{__perl}#g' \
`grep -l -r "%{_prefix}/local/bin/perl" *`
OPTFLAGS="%{rpmcflags}"
export OPTFLAGS
%ifarch %{ix86}
OPTFLAGS="%{rpmcflags}"
export OPTFLAGS
%ifarch %{ix86}
+%ifarch i386
+# allow running on 80386 (default code uses bswapl available on i486+)
./Configure --openssldir=%{_var}/lib/%{name} linux-elf shared 386
%else
./Configure --openssldir=%{_var}/lib/%{name} linux-elf shared
./Configure --openssldir=%{_var}/lib/%{name} linux-elf shared 386
%else
./Configure --openssldir=%{_var}/lib/%{name} linux-elf shared