]> granicus.if.org Git - curl/commitdiff
winbuild: add note on auto-detection of MACHINE in Makefile.vc
authorSimon Warta <simon@kullo.net>
Thu, 16 Feb 2017 16:27:03 +0000 (17:27 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 16 Feb 2017 16:56:33 +0000 (17:56 +0100)
Closes #1265

winbuild/Makefile.vc

index 1443dfa02e246da3e4e3ed855e9deb1a5287faf2..f78da434363a3cfb85247158017afcd4af64a171 100644 (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