[1/1] fix x264 to build on aarch

Message ID 1370457333-20140-1-git-send-email-tom.gall@linaro.org
State New
Headers show

Commit Message

Tom Gall June 5, 2013, 6:35 p.m.
Add X264_DISABLE_ASM_aarch64 = "--disable-asm" to fix build on
aarch64.

Signed-off-by: Tom Gall <tom.gall@linaro.org>
---
 meta-oe/recipes-multimedia/x264/x264_git.bb |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Patch

diff --git a/meta-oe/recipes-multimedia/x264/x264_git.bb b/meta-oe/recipes-multimedia/x264/x264_git.bb
index 5222d1d..b7a9b03 100644
--- a/meta-oe/recipes-multimedia/x264/x264_git.bb
+++ b/meta-oe/recipes-multimedia/x264/x264_git.bb
@@ -22,6 +22,7 @@  inherit lib_package pkgconfig
 X264_DISABLE_ASM = ""
 X264_DISABLE_ASM_armv4 = "--disable-asm"
 X264_DISABLE_ASM_armv5 = "--disable-asm"
+X264_DISABLE_ASM_aarch64 = "--disable-asm"
 
 EXTRA_OECONF = '--prefix=${prefix} \
                 --host=${HOST_SYS} \
@@ -29,7 +30,7 @@  EXTRA_OECONF = '--prefix=${prefix} \
                 --sysroot=${STAGING_DIR_TARGET} \
                 --enable-shared \
                 --enable-static \
-                --disable-lavf \
+                --disable-lavf --enable-pic \
                 ${X264_DISABLE_ASM} \
                '