@@ -15,9 +15,9 @@ S = "${WORKDIR}/x265_${PV}/source"
inherit lib_package cmake pkgconfig
EXTRA_OECMAKE += "-DENABLE_PIC=ON -DENABLE_SHARED=ON -DENABLE_CLI=ON"
-
+EXTRA_OECMAKE:append:x86 = " -DENABLE_ASSEMBLY=OFF"
do_generate_toolchain_file:append() {
- echo "set(CMAKE_ASM_NASM_FLAGS --debug-prefix-map ${S}=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR})" >> ${WORKDIR}/toolchain.cmake
+ echo "set(CMAKE_ASM_NASM_FLAGS -DPIC --debug-prefix-map ${S}=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR})" >> ${WORKDIR}/toolchain.cmake
}
PACKAGECONFIG ?= "hdr10plus 10bit"
Disable asm on x86 Signed-off-by: Khem Raj <raj.khem@gmail.com> --- meta-multimedia/recipes-multimedia/x265/x265_4.1.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)