From 5e1c8fe9b47145a8446f1736ef8b332fb1d519ee Mon Sep 17 00:00:00 2001 From: aekoroglu Date: Feb 18 2023 10:41:47 +0000 Subject: enable sse_slide --- 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}