changeset 34:e390915d5ab9

Win: Merge windows change from remote.
author Brian Smith <brian@dbsoft.org>
date Thu, 01 Aug 2019 06:12:33 -0500
parents ec6da4b77036 (current diff) cd5689839e1e (diff)
children 9428dd89df61
files
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/makefile.vc	Thu Aug 01 06:11:23 2019 -0500
+++ b/makefile.vc	Thu Aug 01 06:12:33 2019 -0500
@@ -11,8 +11,10 @@
 # Configure settings for the target platform
 #	Default to x86 if not specified
 #
-!if "$(TARGET_CPU)" == ""
+!if "$(VSCMD_ARG_TGT_ARCH)" == ""
 TARGET_CPU=x86
+!else
+TARGET_CPU=$(VSCMD_ARG_TGT_ARCH)
 !endif
 
 !if "$(TARGET_CPU)" == "x86"
--- a/minimal/makefile.vc	Thu Aug 01 06:11:23 2019 -0500
+++ b/minimal/makefile.vc	Thu Aug 01 06:12:33 2019 -0500
@@ -9,8 +9,10 @@
 # Configure settings for the target platform
 #	Default to x86 if not specified
 #
-!if "$(TARGET_CPU)" == ""
+!if "$(VSCMD_ARG_TGT_ARCH)" == ""
 TARGET_CPU=x86
+!else
+TARGET_CPU=$(VSCMD_ARG_TGT_ARCH)
 !endif
 
 !if "$(TARGET_CPU)" == "x86"