Add AArch64-specific options to cflags 95/21695/1 tizen submit/tizen/20140702.012608
authorYury Usishchev <y.usishchev@samsung.com>
Mon, 26 May 2014 13:27:51 +0000 (17:27 +0400)
committerYury Usishchev <y.usishchev@samsung.com>
Mon, 26 May 2014 13:27:51 +0000 (17:27 +0400)
Change-Id: If3e055e11a334bff393f64fb50bf0bbd14c9ec97
Signed-off-by: Yury Usishchev <y.usishchev@samsung.com>
packaging/osp-compat.spec

index bb64db7..68d91e1 100644 (file)
@@ -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"