winbuild: add note on auto-detection of MACHINE in Makefile.vc

Closes #1265
This commit is contained in:
Simon Warta 2017-02-16 17:27:03 +01:00 committed by Daniel Stenberg
parent 62c857acd6
commit 3cc30e8207
1 changed files with 3 additions and 0 deletions

View File

@ -57,7 +57,10 @@ ENABLE_SSPI = $(USE_SSPI)
!ENDIF
# default options
!IFNDEF MACHINE
# Note: nmake magically changes the value of PROCESSOR_ARCHITECTURE from "AMD64"
# to "x86" when building in a 32 bit build environment on a 64 bit machine.
!IF "$(PROCESSOR_ARCHITECTURE)"=="AMD64"
MACHINE = x64
!ELSE