Add AArch64-specific options to cflags 99/21699/1 accepted/tizen_mobile tizen accepted/tizen/mobile/20140702.103555 submit/tizen/20140702.012548
authorYury Usishchev <y.usishchev@samsung.com>
Mon, 26 May 2014 14:02:47 +0000 (18:02 +0400)
committerYury Usishchev <y.usishchev@samsung.com>
Mon, 26 May 2014 14:02:47 +0000 (18:02 +0400)
Change-Id: I9a3ebe7ac37da3b44e682c9b7fbd3e76dd39dc85
Signed-off-by: Yury Usishchev <y.usishchev@samsung.com>
packaging/osp-loader.spec

index f260453..b181289 100644 (file)
@@ -31,9 +31,14 @@ MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
                CXXFLAGS="$CXXFLAGS -D_OSP_EMUL_"
        %endif
 %else
+%ifarch aarch64
+       ARCH=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_ -DTIZEN_DEBUG_ENABLE"
+%else
        ARCH=arm
        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"