From 62fad9f51f7fed876c24906796f59c2c4b46d826 Mon Sep 17 00:00:00 2001 From: Yury Usishchev Date: Mon, 26 May 2014 17:27:51 +0400 Subject: [PATCH] Add AArch64-specific options to cflags Change-Id: If3e055e11a334bff393f64fb50bf0bbd14c9ec97 Signed-off-by: Yury Usishchev --- packaging/osp-compat.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packaging/osp-compat.spec b/packaging/osp-compat.spec index bb64db7..68d91e1 100644 --- a/packaging/osp-compat.spec +++ b/packaging/osp-compat.spec @@ -31,8 +31,12 @@ MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'` %endif %else ARCH=arm +%ifarch aarch64 + CXXFLAGS="-O2 -g -pipe -Wall -fno-exceptions -Wformat -Wformat-security -Wl,--as-needed -fmessage-length=0 -march=armv8-a+fp+simd -funwind-tables -D_OSP_DEBUG_ -D_OSP_ARMEL_" +%else CXXFLAGS="-O2 -g -pipe -Wall -fno-exceptions -Wformat -Wformat-security -Wl,--as-needed -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -D__SOFTFP__ -mthumb -Wa,-mimplicit-it=thumb -funwind-tables -D_OSP_DEBUG_ -D_OSP_ARMEL_" %endif +%endif %if 0%{?tizen_build_binary_release_type_eng} CXXFLAGS="$CXXFLAGS -D_SECURE_LOG" -- 2.7.4