diff options
Diffstat (limited to 'meta-oe/recipes-multimedia/webm/libvpx/do-not-hardcode-softfp-float-api.patch')
-rw-r--r-- | meta-oe/recipes-multimedia/webm/libvpx/do-not-hardcode-softfp-float-api.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-oe/recipes-multimedia/webm/libvpx/do-not-hardcode-softfp-float-api.patch b/meta-oe/recipes-multimedia/webm/libvpx/do-not-hardcode-softfp-float-api.patch new file mode 100644 index 000000000..d87169421 --- /dev/null +++ b/meta-oe/recipes-multimedia/webm/libvpx/do-not-hardcode-softfp-float-api.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | From: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> | ||
2 | |||
3 | Upstream-Status: Inappopriate [upstream has it done in other way] | ||
4 | |||
5 | Problem is solved upstream but we have quite old version so backporting patches | ||
6 | is waste of time. | ||
7 | |||
8 | --- | ||
9 | build/make/configure.sh | 4 ++-- | ||
10 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
11 | |||
12 | --- libvpx-v0.9.5.orig/build/make/configure.sh | ||
13 | +++ libvpx-v0.9.5/build/make/configure.sh | ||
14 | @@ -659,12 +659,12 @@ process_common_toolchain() { | ||
15 | if enabled iwmmxt || enabled iwmmxt2 | ||
16 | then | ||
17 | check_add_asflags -mcpu=${tgt_isa} | ||
18 | elif enabled armv7 | ||
19 | then | ||
20 | - check_add_cflags -march=armv7-a -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp #-ftree-vectorize | ||
21 | - check_add_asflags -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp #-march=armv7-a | ||
22 | + check_add_cflags -march=armv7-a -mcpu=cortex-a8 -mfpu=neon #-ftree-vectorize | ||
23 | + check_add_asflags -mcpu=cortex-a8 -mfpu=neon #-march=armv7-a | ||
24 | else | ||
25 | check_add_cflags -march=${tgt_isa} | ||
26 | check_add_asflags -march=${tgt_isa} | ||
27 | fi | ||
28 | |||