mirror of https://github.com/PCSX2/pcsx2.git
cmake: Add -mxsave flag to compiler flags
Fixes compilation when using GCC8.2 to compile a non-native build. Fixes #2554.
This commit is contained in:
parent
d258ef6275
commit
b84a2cfaf6
|
@ -206,7 +206,7 @@ if(${PCSX2_TARGET_ARCHITECTURES} MATCHES "i386")
|
||||||
if (USE_ICC)
|
if (USE_ICC)
|
||||||
set(ARCH_FLAG "-msse2")
|
set(ARCH_FLAG "-msse2")
|
||||||
else()
|
else()
|
||||||
set(ARCH_FLAG "-msse -msse2 -mfxsr -march=i686")
|
set(ARCH_FLAG "-msse -msse2 -mfxsr -mxsave -march=i686")
|
||||||
endif()
|
endif()
|
||||||
else()
|
else()
|
||||||
# AVX requires some fix of the ABI (mangling) (default 2)
|
# AVX requires some fix of the ABI (mangling) (default 2)
|
||||||
|
|
Loading…
Reference in New Issue