summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2018-10-06 18:29:17 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-10-09 19:04:02 +0100
commit74ea4f280c19bc7901e2d13960ad81165dedd01d (patch)
treee9e123c50f38541d68a3665082761268a0ad4e1d
parent4d960984c360da7f74368b5e4cb912168690e872 (diff)
downloadpoky-74ea4f280c19bc7901e2d13960ad81165dedd01d.tar.gz
x264: Disable asm on musl/x86
Fixes WARNING: x264-r2854+gitAUTOINC+e9a5903edf-r0 do_package_qa: QA Issue: ELF binary '/mnt/a/yoe/build/tmp/work/i586-yoe-linux-musl/x264/r2854+gitAUTOINC+e9a5903edf-r0/packages-split/x264/usr/lib/libx264.so.152' has relocations in .text [textrel] WARNING: x264-r2854+gitAUTOINC+e9a5903edf-r0 do_package_qa: QA Issue: ELF binary '/mnt/a/yoe/build/tmp/work/i586-yoe-linux-musl/x264/r2854+gitAUTOINC+e9a5903edf-r0/packages-split/x264-bin/usr/bin/x264' has relocations in .text [textrel] (From OE-Core rev: ea1204c6d9a02f0e38cf616e89d46530908972bb) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-multimedia/x264/x264_git.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/x264/x264_git.bb b/meta/recipes-multimedia/x264/x264_git.bb
index c445d15e69..4174cb2819 100644
--- a/meta/recipes-multimedia/x264/x264_git.bb
+++ b/meta/recipes-multimedia/x264/x264_git.bb
@@ -23,6 +23,7 @@ S = "${WORKDIR}/git"
23inherit lib_package pkgconfig perlnative 23inherit lib_package pkgconfig perlnative
24 24
25X264_DISABLE_ASM = "" 25X264_DISABLE_ASM = ""
26X264_DISABLE_ASM_x86_libc-musl = "--disable-asm"
26X264_DISABLE_ASM_armv4 = "--disable-asm" 27X264_DISABLE_ASM_armv4 = "--disable-asm"
27X264_DISABLE_ASM_armv5 = "--disable-asm" 28X264_DISABLE_ASM_armv5 = "--disable-asm"
28X264_DISABLE_ASM_powerpc = "${@bb.utils.contains("TUNE_FEATURES", "spe", "--disable-asm", "", d)}" 29X264_DISABLE_ASM_powerpc = "${@bb.utils.contains("TUNE_FEATURES", "spe", "--disable-asm", "", d)}"