diff options
author | Khem Raj <raj.khem@gmail.com> | 2018-10-06 18:29:17 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-10-09 19:04:02 +0100 |
commit | 74ea4f280c19bc7901e2d13960ad81165dedd01d (patch) | |
tree | e9e123c50f38541d68a3665082761268a0ad4e1d | |
parent | 4d960984c360da7f74368b5e4cb912168690e872 (diff) | |
download | poky-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.bb | 1 |
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" | |||
23 | inherit lib_package pkgconfig perlnative | 23 | inherit lib_package pkgconfig perlnative |
24 | 24 | ||
25 | X264_DISABLE_ASM = "" | 25 | X264_DISABLE_ASM = "" |
26 | X264_DISABLE_ASM_x86_libc-musl = "--disable-asm" | ||
26 | X264_DISABLE_ASM_armv4 = "--disable-asm" | 27 | X264_DISABLE_ASM_armv4 = "--disable-asm" |
27 | X264_DISABLE_ASM_armv5 = "--disable-asm" | 28 | X264_DISABLE_ASM_armv5 = "--disable-asm" |
28 | X264_DISABLE_ASM_powerpc = "${@bb.utils.contains("TUNE_FEATURES", "spe", "--disable-asm", "", d)}" | 29 | X264_DISABLE_ASM_powerpc = "${@bb.utils.contains("TUNE_FEATURES", "spe", "--disable-asm", "", d)}" |