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:
parent
6be3775efe
commit
0ba5885767
@ -87,12 +87,6 @@ touch extra_include/glslang/build_info.h
|
|||||||
# There is handcrafted assembler, which LTO does not play nice with.
|
# There is handcrafted assembler, which LTO does not play nice with.
|
||||||
%define _lto_cflags %nil
|
%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"
|
export CXXFLAGS="$CXXFLAGS -I$PWD/extra_include"
|
||||||
%cmake -DNO_STRIP=1 \
|
%cmake -DNO_STRIP=1 \
|
||||||
-DCMAKE_SHARED_LINKER_FLAGS="" \
|
-DCMAKE_SHARED_LINKER_FLAGS="" \
|
||||||
|
Loading…
Reference in New Issue
Block a user