0
0
mirror of https://github.com/vim/vim.git synced 2025-10-01 04:54:07 -04:00

updated for version 7.3.207

Problem:    Can't compile with MSVC with pentium4 and 64 bit.
Solution:   Only use SSE2 for 32 bit. (Mike Williams)
This commit is contained in:
Bram Moolenaar
2011-06-12 20:31:31 +02:00
parent 7154b326d0
commit 3ed16dc6b7
2 changed files with 4 additions and 2 deletions

View File

@@ -409,8 +409,8 @@ CPUARG = /G7 /arch:SSE2
CPUARG =
!endif
!else
# VC8/9 only allows specifying SSE architecture
!if "$(CPUNR)" == "pentium4"
# VC8/9/10 only allows specifying SSE architecture but only for 32bit
!if "$(ASSEMBLY_ARCHITECTURE)" == "x86" && "$(CPUNR)" == "pentium4"
CPUARG = /arch:SSE2
!endif
!endif