Skip to content

Commit

Permalink
libvpx: force arm mode to be able to link with ffmpeg where arm mode …
Browse files Browse the repository at this point in the history
…already is forced

* v2: updated INC_PR after 0478950

Signed-off-by: Tom Rini <tom_rini@mentor.com>
  • Loading branch information
shr-project authored and Tom Rini committed Mar 1, 2011
1 parent 2bd8ccc commit 8c6a371
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion 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
Expand Down

0 comments on commit 8c6a371

Please sign in to comment.