cmake: Add -mxsave flag to ARCH_FLAG in BuildParameters.

A couple of users reported compilation issues using gcc 8.2+ on some
machines/distros on github and discord and adding the -mxsave flag
suggested by turtleli seems to fix the issue.

Fixes #2669
This commit is contained in:
lightningterror committed 2018-12-27 04:55:50 +01:00
1 parent eb7824e6ff
commit 752dbdefd2
1 file changed
+1 -1
+1 -1
View File
@@ -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 "-mxsave -march=native")
endif()
endif()