diff --git a/gzdoom.changes b/gzdoom.changes index d878a47..26543a8 100644 --- a/gzdoom.changes +++ b/gzdoom.changes @@ -2,6 +2,7 @@ Tue Oct 1 06:23:02 UTC 2019 - Jan Engelhardt - Add gzdoom-asmjit.patch. +- Enable SSE/SSE2. ------------------------------------------------------------------- Fri Sep 13 11:39:15 UTC 2019 - Jan Engelhardt diff --git a/gzdoom.spec b/gzdoom.spec index 2257f81..f1c00fc 100644 --- a/gzdoom.spec +++ b/gzdoom.spec @@ -102,6 +102,12 @@ perl -i -pe 's{}{%version}g' \ %define _lto_cflags %nil # We must not strip - %%debug_package will take care of it # Deactivate -Wl,--as-needed + +%ifarch %ix86 +# program does a cpuid check, so it is ok to enable +export CFLAGS="%optflags -msse -msse2" +export CXXFLAGS="%optflags -msse -msse2" +%endif %cmake -DNO_STRIP=1 \ %if 0%{suse_version} == 1315 -DCMAKE_C_COMPILER=gcc-6 -DCMAKE_CXX_COMPILER=g++-6 \