SHA256
1
0
forked from pool/gzdoom

- Enable SSE/SSE2.

OBS-URL: https://build.opensuse.org/package/show/games/gzdoom?expand=0&rev=33
This commit is contained in:
Jan Engelhardt 2019-10-04 07:41:20 +00:00 committed by Git OBS Bridge
parent 06bb912c25
commit 387a56a3d1
2 changed files with 7 additions and 0 deletions

View File

@ -2,6 +2,7 @@
Tue Oct 1 06:23:02 UTC 2019 - Jan Engelhardt <jengelh@inai.de> Tue Oct 1 06:23:02 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Add gzdoom-asmjit.patch. - Add gzdoom-asmjit.patch.
- Enable SSE/SSE2.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Sep 13 11:39:15 UTC 2019 - Jan Engelhardt <jengelh@inai.de> Fri Sep 13 11:39:15 UTC 2019 - Jan Engelhardt <jengelh@inai.de>

View File

@ -102,6 +102,12 @@ perl -i -pe 's{<unknown version>}{%version}g' \
%define _lto_cflags %nil %define _lto_cflags %nil
# We must not strip - %%debug_package will take care of it # We must not strip - %%debug_package will take care of it
# Deactivate -Wl,--as-needed # 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 \ %cmake -DNO_STRIP=1 \
%if 0%{suse_version} == 1315 %if 0%{suse_version} == 1315
-DCMAKE_C_COMPILER=gcc-6 -DCMAKE_CXX_COMPILER=g++-6 \ -DCMAKE_C_COMPILER=gcc-6 -DCMAKE_CXX_COMPILER=g++-6 \