SHA256
1
0
forked from pool/gzdoom

Drop -msse, -msse2 from gcc command lines

OBS-URL: https://build.opensuse.org/package/show/games/gzdoom?expand=0&rev=75
This commit is contained in:
Jan Engelhardt 2022-07-04 23:13:41 +00:00 committed by Git OBS Bridge
parent 6be3775efe
commit 0ba5885767

View File

@ -87,12 +87,6 @@ touch extra_include/glslang/build_info.h
# There is handcrafted assembler, which LTO does not play nice with.
%define _lto_cflags %nil
%ifarch %ix86
# Allow sw to use intrinsics (functions like _mm_set_sd).
# Guarded by cpuid calls by sw.
export CFLAGS="%optflags -msse -msse2"
export CXXFLAGS="%optflags -msse -msse2"
%endif
export CXXFLAGS="$CXXFLAGS -I$PWD/extra_include"
%cmake -DNO_STRIP=1 \
-DCMAKE_SHARED_LINKER_FLAGS="" \