From: Minchul Lee Date: Mon, 30 Mar 2015 02:29:04 +0000 (+0900) Subject: Fix aarch64 build error on tizen 3.0 X-Git-Tag: accepted/tizen/common/20150330.120324^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bd92ecb1396212c01ea92b3388926005705e3627;p=platform%2Fupstream%2Fiotivity.git Fix aarch64 build error on tizen 3.0 Commit: f2e3379f21e6872fdae97d7a783fc1854d903577 Reviewed-on: https://gerrit.iotivity.org/gerrit/#/c/580/ Change-Id: I9267d670c17cd87e4804761b8d2ce3260862f104 Signed-off-by: Minchul Lee --- diff --git a/build_common/linux/SConscript b/build_common/linux/SConscript index bb939be..62337a1 100644 --- a/build_common/linux/SConscript +++ b/build_common/linux/SConscript @@ -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.find('arm64') >= 0: env.AppendUnique(CPPFLAGS = ['-march=armv8-a']) else: env.AppendUnique(CPPFLAGS = ['-march=armv5te'])