From 858780dd1151b9517142194076bfd4a116f3dace Mon Sep 17 00:00:00 2001 From: Chanho Park Date: Tue, 18 Nov 2014 22:03:50 +0900 Subject: [PATCH] packaging: arm: enable neon for arm64 This patch enables neon for arm64 because the neon for arm64 was supported since v10. Change-Id: Ia11563b6f73c24eac7c67a0c3384dbf64e220842 Signed-off-by: Chanho Park Bug-Tizen: TC-2106/related Signed-off-by: Philippe Coval --- packaging/libav.spec | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) diff --git a/packaging/libav.spec b/packaging/libav.spec index 89547de..e53c0c9 100644 --- a/packaging/libav.spec +++ b/packaging/libav.spec @@ -137,30 +137,23 @@ export CONFIGURE_OPTIONS="--enable-shared --disable-static \ --enable-swscale --disable-yasm \ --enable-fft --enable-rdft --enable-mdct --enable-neon \ " -%ifarch %{arm} +%ifarch %{arm} aarch64 export CONFIGURE_OPTIONS+="--disable-mmx" %else %endif -%ifarch aarch64 -export CONFIGURE_OPTIONS+=" --disable-neon" -%endif - CFLAGS="%{optflags} -fPIC -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\" "; export CFLAGS %ifarch %{arm} -./configure \ - --prefix=%{_prefix} \ - --libdir=%_libdir \ - --shlibdir=%_libdir \ -%ifnarch aarch64 - --extra-cflags="-mfpu=neon" \ -%endif - $CONFIGURE_OPTIONS -%else -./configure --prefix=%{_prefix} --shlibdir=%_libdir --libdir=%_libdir $CONFIGURE_OPTIONS +export CONFIGURE_OPTIONS+="--extra-cflags=-mfpu=neon" %endif +./configure \ + --prefix=%{_prefix} \ + --libdir=%_libdir \ + --shlibdir=%_libdir \ + $CONFIGURE_OPTIONS + %build -- 2.7.4