Mercurial > DynamicMail
changeset 32:cd5689839e1e
Win: Changed build to pull target CPU from the Visual C build environment.
author | Brian Smith <brian@dbsoft.org> |
---|---|
date | Wed, 31 Jul 2019 21:53:46 -0500 |
parents | ef3ea8b38f24 |
children | e390915d5ab9 |
files | makefile.vc minimal/makefile.vc |
diffstat | 2 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/makefile.vc Wed Jul 31 21:42:33 2019 -0500 +++ b/makefile.vc Wed Jul 31 21:53:46 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 Wed Jul 31 21:42:33 2019 -0500 +++ b/minimal/makefile.vc Wed Jul 31 21:53:46 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"