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:
lightningterror 2018-12-30 00:30:53 +01:00
parent 67a6f31b88
commit 062d141cf1
1 changed files with 1 additions and 1 deletions

View File

@ -212,7 +212,7 @@ if(${PCSX2_TARGET_ARCHITECTURES} MATCHES "i386")
# AVX requires some fix of the ABI (mangling) (default 2) # AVX requires some fix of the ABI (mangling) (default 2)
# Note: V6 requires GCC 4.7 # Note: V6 requires GCC 4.7
#set(ARCH_FLAG "-march=native -fabi-version=6") #set(ARCH_FLAG "-march=native -fabi-version=6")
set(ARCH_FLAG "-march=native") set(ARCH_FLAG "-mfxsr -mxsave -march=native")
endif() endif()
endif() endif()