build: restrict compiler options to supported architectures
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 10 Dec 2016 17:35:04 +0000 (18:35 +0100)
committerDave Thaler <dthaler@microsoft.com>
Wed, 18 Jan 2017 02:29:34 +0000 (02:29 +0000)
commit3f773ec8b437bb24898d0db8f7d78307ded60981
tree398e384f09d8e8c47815f3438d27c8ccbfbd7c9b
parent2dfa7e3e2fa58140f41bebe1ffdc021f6bb337df
build: restrict compiler options to supported architectures

For Linux we currently only support the following architectures:
'x86', 'x86_64', 'arm', 'arm-v7a', 'armeabi-v7a', 'arm64'
explicitly check for those architectures.

There is not option with v7a-hard in os_arch_map so it is not possible
to select this for target_arch, remove the options here because they
are unused.

Change-Id: I7078530bc2a89b88c7049cc53e8bb3fbe5d75ca8
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Reviewed-on: https://gerrit.iotivity.org/gerrit/15433
Reviewed-by: Phil Coval <philippe.coval@osg.samsung.com>
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
build_common/linux/SConscript
resource/csdk/connectivity/build/linux/SConscript