Change-Id: I9a3ebe7ac37da3b44e682c9b7fbd3e76dd39dc85
Signed-off-by: Yury Usishchev <y.usishchev@samsung.com>
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"