build: support arm64 too submit/contrib_common/20150129.113722
authorPhilippe Coval <philippe.coval@open.eurogiciel.org>
Thu, 29 Jan 2015 10:30:40 +0000 (11:30 +0100)
committerPhilippe Coval <philippe.coval@open.eurogiciel.org>
Thu, 29 Jan 2015 10:57:52 +0000 (11:57 +0100)
This has been tested on Tizen:Common

Change-Id: I209e8bff86b99f2657d159049bf7c9c99db5bd9e
Forwarded: https://gerrit.iotivity.org/gerrit/272
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
build_common/linux/SConscript

index bb939be..797f21f 100644 (file)
@@ -27,7 +27,7 @@ elif target_arch.find('v7a-hard') > 0:
        env.AppendUnique(LINKFLAGS = ['-mfloat-abi=hard'])
 elif target_arch.find('v7a') > 0:
        env.AppendUnique(CPPFLAGS = ['-march=armv7-a'])
-elif target_arch.find('arm64') > 0:
+elif target_arch in ['arm64']:
        env.AppendUnique(CPPFLAGS = ['-march=armv8-a'])
 else:
        env.AppendUnique(CPPFLAGS = ['-march=armv5te'])