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>
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'])