From: Simon Warta Date: Thu, 16 Feb 2017 16:27:03 +0000 (+0100) Subject: winbuild: add note on auto-detection of MACHINE in Makefile.vc X-Git-Tag: curl-7_53_0~16 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3cc30e8207b5ab3a9a381c0ff3584d1af8dc54a1;p=curl winbuild: add note on auto-detection of MACHINE in Makefile.vc Closes #1265 --- diff --git a/winbuild/Makefile.vc b/winbuild/Makefile.vc index 1443dfa02..f78da4343 100644 --- a/winbuild/Makefile.vc +++ b/winbuild/Makefile.vc @@ -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