mirror of https://github.com/PCSX2/pcsx2.git
cmake: Re add the -mxsave flag to compiler flags.
The warnings issue should be resolved now thanks to arcum. Fixes compiling issues on some systems/distros using gcc 8.2+ Idea by turtleli. Also add -mfxsr flag suggested by Gregory.
This commit is contained in:
parent
67a6f31b88
commit
062d141cf1
|
@ -212,7 +212,7 @@ if(${PCSX2_TARGET_ARCHITECTURES} MATCHES "i386")
|
|||
# AVX requires some fix of the ABI (mangling) (default 2)
|
||||
# Note: V6 requires GCC 4.7
|
||||
#set(ARCH_FLAG "-march=native -fabi-version=6")
|
||||
set(ARCH_FLAG "-march=native")
|
||||
set(ARCH_FLAG "-mfxsr -mxsave -march=native")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in New Issue