summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-multimedia/webm/libvpx/do-not-hardcode-softfp-float-api.patch
blob: d8716942155dcf5d2bc7faf6ecbf1464bc8f1aa2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>

Upstream-Status: Inappopriate [upstream has it done in other way]

Problem is solved upstream but we have quite old version so backporting patches
is waste of time.

---
 build/make/configure.sh |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- libvpx-v0.9.5.orig/build/make/configure.sh
+++ libvpx-v0.9.5/build/make/configure.sh
@@ -659,12 +659,12 @@ process_common_toolchain() {
         if enabled iwmmxt || enabled iwmmxt2
             then
                 check_add_asflags -mcpu=${tgt_isa}
             elif enabled armv7
             then
-                check_add_cflags -march=armv7-a -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp  #-ftree-vectorize
-        check_add_asflags -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp  #-march=armv7-a
+                check_add_cflags -march=armv7-a -mcpu=cortex-a8 -mfpu=neon   #-ftree-vectorize
+        check_add_asflags -mcpu=cortex-a8 -mfpu=neon   #-march=armv7-a
             else
                 check_add_cflags -march=${tgt_isa}
                 check_add_asflags -march=${tgt_isa}
             fi