Windows: fix the default TARGET_ARCH
authorDan Mihai <Daniel.Mihai@microsoft.com>
Fri, 20 Jan 2017 17:22:17 +0000 (09:22 -0800)
committerDave Thaler <dthaler@microsoft.com>
Fri, 27 Jan 2017 17:43:02 +0000 (17:43 +0000)
Fix recent regression from commit
5198fa0c4abe18c5122d16984ce0c70c63dba882.

Change-Id: I7b7e36441f5f63cb89aeeb3fa2ba0b34ad1ce5ff
Signed-off-by: Dan Mihai <Daniel.Mihai@microsoft.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/16631
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Phil Coval <philippe.coval@osg.samsung.com>
Reviewed-by: Dave Thaler <dthaler@microsoft.com>
build_common/SConscript

index 093a708..4bad59a 100644 (file)
@@ -53,6 +53,8 @@ if target_os == 'android':
     default_arch = 'x86'
 else:
     default_arch = platform.machine()
+    if target_os == 'windows':
+        default_arch = default_arch.lower()
 
 target_arch = ARGUMENTS.get('TARGET_ARCH', default_arch) # target arch