From 3cc30e8207b5ab3a9a381c0ff3584d1af8dc54a1 Mon Sep 17 00:00:00 2001 From: Simon Warta Date: Thu, 16 Feb 2017 17:27:03 +0100 Subject: winbuild: add note on auto-detection of MACHINE in Makefile.vc Closes #1265 --- winbuild/Makefile.vc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'winbuild') 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 -- cgit v1.2.3