1
0
mirror of https://github.com/moparisthebest/curl synced 2024-10-31 15:45:12 -04:00

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

View File

@ -57,7 +57,10 @@ ENABLE_SSPI = $(USE_SSPI)
!ENDIF !ENDIF
# default options # default options
!IFNDEF MACHINE !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" !IF "$(PROCESSOR_ARCHITECTURE)"=="AMD64"
MACHINE = x64 MACHINE = x64
!ELSE !ELSE