Patchwork [PATCHv2] libvpx: force arm mode to be able to link with ffmpeg where arm mode already is forced

login
register
mail settings
Submitter Martin Jansa
Date March 1, 2011, 8:37 a.m.
Message ID <1298968672-14034-1-git-send-email-Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/935/
State Accepted, archived
Delegated to: Khem Raj
Headers show

Comments

Martin Jansa - March 1, 2011, 8:37 a.m.
* v2: updated INC_PR after 0478950960e5c600efc77c25559fc7eee311f686
---
 recipes/webm/libvpx.inc |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

Patch

diff --git a/recipes/webm/libvpx.inc b/recipes/webm/libvpx.inc
index a1e02b1..fd82d77 100644
--- a/recipes/webm/libvpx.inc
+++ b/recipes/webm/libvpx.inc
@@ -1,11 +1,15 @@ 
 DESCRIPTION = "vpx Multi-Format Codec SDK"
 LICENSE = "BSD"
 
-INC_PR = "r6"
+INC_PR = "r7"
 
 SRC_URI = "http://webm.googlecode.com/files/libvpx-v${PV}.tar.bz2"
 S = "${WORKDIR}/libvpx-v${PV}"
 
+# ffmpeg links with this and fails 
+# sysroots/armv4t-oe-linux-gnueabi/usr/lib/libvpx.a(vpx_encoder.c.o)(.text+0xc4): unresolvable R_ARM_THM_CALL relocation against symbol `memcpy@@GLIBC_2.4'
+ARM_INSTRUCTION_SET = "arm"
+
 CFLAGS += "-fPIC"
 
 export CC