Permalink
Browse files

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.
  • Loading branch information...
lightningterror committed Dec 29, 2018
1 parent 67a6f31 commit 062d141cf1c777cba57ced32c71209f005039f01
Showing with 1 addition and 1 deletion.
  1. +1 −1 cmake/BuildParameters.cmake
@@ -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()

0 comments on commit 062d141

Please sign in to comment.