This patch enables neon for arm64 because the neon for arm64 was
supported since v10.
Change-Id: Ia11563b6f73c24eac7c67a0c3384dbf64e220842
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Bug-Tizen: TC-2106/related
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
--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