diff mbox series

[meta-multimedia,1/3] x265: Re-add -DENABLE_PIC=ON

Message ID 20250107213002.1443331-1-raj.khem@gmail.com
State New
Headers show
Series [meta-multimedia,1/3] x265: Re-add -DENABLE_PIC=ON | expand

Commit Message

Khem Raj Jan. 7, 2025, 9:30 p.m. UTC
Its needed on architectures like aarch64 and riscv

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta-multimedia/recipes-multimedia/x265/x265_4.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-multimedia/recipes-multimedia/x265/x265_4.1.bb b/meta-multimedia/recipes-multimedia/x265/x265_4.1.bb
index 176774e359..268ccec167 100644
--- a/meta-multimedia/recipes-multimedia/x265/x265_4.1.bb
+++ b/meta-multimedia/recipes-multimedia/x265/x265_4.1.bb
@@ -14,7 +14,7 @@  S = "${WORKDIR}/x265_${PV}/source"
 
 inherit lib_package cmake pkgconfig
 
-EXTRA_OECMAKE += "-DENABLE_SHARED=ON -DENABLE_CLI=ON"
+EXTRA_OECMAKE += "-DENABLE_PIC=ON -DENABLE_SHARED=ON -DENABLE_CLI=ON"
 
 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