summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/x264/x264/don-t-default-to-cortex-a9-with-neon.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-multimedia/x264/x264/don-t-default-to-cortex-a9-with-neon.patch')
-rw-r--r--meta/recipes-multimedia/x264/x264/don-t-default-to-cortex-a9-with-neon.patch13
1 files changed, 2 insertions, 11 deletions
diff --git a/meta/recipes-multimedia/x264/x264/don-t-default-to-cortex-a9-with-neon.patch b/meta/recipes-multimedia/x264/x264/don-t-default-to-cortex-a9-with-neon.patch
index bf72fca682..73f2aac613 100644
--- a/meta/recipes-multimedia/x264/x264/don-t-default-to-cortex-a9-with-neon.patch
+++ b/meta/recipes-multimedia/x264/x264/don-t-default-to-cortex-a9-with-neon.patch
@@ -5,10 +5,10 @@ Upstream-Status: Pending
5Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> 5Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
6 6
7diff --git a/configure b/configure 7diff --git a/configure b/configure
8index 2916036..f4ece40 100755 8index 9d1586c..3109ec4 100755
9--- a/configure 9--- a/configure
10+++ b/configure 10+++ b/configure
11@@ -773,9 +773,6 @@ if [ $asm = auto -a \( $ARCH = X86 -o $ARCH = X86_64 \) ] ; then 11@@ -874,9 +874,6 @@ if [ $asm = auto -a \( $ARCH = X86 -o $ARCH = X86_64 \) ] ; then
12 fi 12 fi
13 13
14 if [ $asm = auto -a $ARCH = ARM ] ; then 14 if [ $asm = auto -a $ARCH = ARM ] ; then
@@ -18,12 +18,3 @@ index 2916036..f4ece40 100755
18 if cc_check '' '' '__asm__("rev ip, ip");' ; then define HAVE_ARMV6 18 if cc_check '' '' '__asm__("rev ip, ip");' ; then define HAVE_ARMV6
19 cc_check '' '' '__asm__("movt r0, #0");' && define HAVE_ARMV6T2 19 cc_check '' '' '__asm__("movt r0, #0");' && define HAVE_ARMV6T2
20 cc_check '' '' '__asm__("vadd.i16 q0, q0, q0");' && define HAVE_NEON 20 cc_check '' '' '__asm__("vadd.i16 q0, q0, q0");' && define HAVE_NEON
21@@ -788,8 +785,6 @@ if [ $asm = auto -a $ARCH = ARM ] ; then
22 fi
23
24 if [ $asm = auto -a $ARCH = AARCH64 ] ; then
25- # set flags so neon is built by default
26- echo $CFLAGS | grep -Eq '(-mcpu|-march|-mfpu|-arch)' || CFLAGS="$CFLAGS -arch arm64 -mfpu=neon"
27
28 if cc_check '' '' '__asm__("cmeq v0.8h, v0.8h, #0");' ; then define HAVE_NEON
29 ASFLAGS="$ASFLAGS -c"