diff --git a/SPECS/zlib.spec b/SPECS/zlib.spec index 2ca023c..e3bb2ed 100644 --- a/SPECS/zlib.spec +++ b/SPECS/zlib.spec @@ -153,9 +153,12 @@ export LDFLAGS="$LDFLAGS -Wl,-z,relro -Wl,-z,now" # no-autotools, %%configure is not compatible %ifarch s390 s390x ./configure --libdir=%{_libdir} --includedir=%{_includedir} --prefix=%{_prefix} --dfltcc +%ifarch x86_64 + ./configure --libdir=%{_libdir} --includedir=%{_includedir} --prefix=%{_prefix} --enable-sse_slide %else ./configure --libdir=%{_libdir} --includedir=%{_includedir} --prefix=%{_prefix} %endif +%endif %make_build %if %{with minizip}