cmake: only enable SSE2 on x64 build

SW will generate AVX code anyway
This commit is contained in:
Gregory Hainaut 2016-11-20 23:24:44 +01:00
parent 37379d5d1d
commit dc85989553
1 changed files with 1 additions and 1 deletions

View File

@ -236,7 +236,7 @@ elseif(${PCSX2_TARGET_ARCHITECTURES} MATCHES "x86_64")
if (USE_ICC)
set(ARCH_FLAG "-msse2")
else()
set(ARCH_FLAG "-msse -msse2 -mfxsr -mssse3 -msse4.1 -mavx")
set(ARCH_FLAG "-msse -msse2 -mfxsr")
endif()
else()
#set(ARCH_FLAG "-march=native -fabi-version=6")