From: Dan Mihai Date: Fri, 20 Jan 2017 17:22:17 +0000 (-0800) Subject: Windows: fix the default TARGET_ARCH X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a38797f66b9c1372d77c6cf9230d2e7642958ea8;p=contrib%2Fiotivity.git Windows: fix the default TARGET_ARCH Fix recent regression from commit 5198fa0c4abe18c5122d16984ce0c70c63dba882. Change-Id: I7b7e36441f5f63cb89aeeb3fa2ba0b34ad1ce5ff Signed-off-by: Dan Mihai Reviewed-on: https://gerrit.iotivity.org/gerrit/16631 Tested-by: jenkins-iotivity Reviewed-by: Phil Coval Reviewed-by: Dave Thaler --- diff --git a/build_common/SConscript b/build_common/SConscript index 093a708..4bad59a 100644 --- a/build_common/SConscript +++ b/build_common/SConscript @@ -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