summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-multimedia/webm/libvpx.inc15
1 files changed, 13 insertions, 2 deletions
diff --git a/meta-oe/recipes-multimedia/webm/libvpx.inc b/meta-oe/recipes-multimedia/webm/libvpx.inc
index fbece03ac..8434f3841 100644
--- a/meta-oe/recipes-multimedia/webm/libvpx.inc
+++ b/meta-oe/recipes-multimedia/webm/libvpx.inc
@@ -1,7 +1,7 @@
1DESCRIPTION = "vpx Multi-Format Codec SDK" 1DESCRIPTION = "vpx Multi-Format Codec SDK"
2LICENSE = "BSD" 2LICENSE = "BSD"
3 3
4INC_PR = "r1" 4INC_PR = "r2"
5 5
6SRC_URI = "http://webm.googlecode.com/files/libvpx-v${PV}.tar.bz2" 6SRC_URI = "http://webm.googlecode.com/files/libvpx-v${PV}.tar.bz2"
7S = "${WORKDIR}/libvpx-v${PV}" 7S = "${WORKDIR}/libvpx-v${PV}"
@@ -10,7 +10,18 @@ S = "${WORKDIR}/libvpx-v${PV}"
10# 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' 10# 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'
11ARM_INSTRUCTION_SET = "arm" 11ARM_INSTRUCTION_SET = "arm"
12 12
13CFLAGS += "-fPIC" 13#-ftree-vectorize was causing ICE with gcc-4.6 from meta-oe, see
14# http://lists.linuxtogo.org/pipermail/openembedded-devel/2011-November/036001.html
15#| [CC] vpx_scale/generic/gen_scalers.c.o
16#| vpx_scale/generic/gen_scalers.c: In function 'vp8cx_vertical_band_3_4_scale_c':
17#| vpx_scale/generic/gen_scalers.c:537:6: internal compiler error: in vect_get_vec_def_for_stmt_copy, at tree-vect-stmts.c:1390
18#| Please submit a full bug report,
19#| with preprocessed source if appropriate.
20#| See <http://gcc.gnu.org/bugs.html> for instructions.
21#| make[1]: *** [vpx_scale/generic/gen_scalers.c.o] Error 1
22#| make: *** [.DEFAULT] Error 2
23
24CFLAGS += "-fPIC -fno-tree-vectorize"
14 25
15export CC 26export CC
16export LD = "${CC}" 27export LD = "${CC}"