diff mbox series

[meta-multimedia] x265: support aarch64

Message ID 20221006215850.GM26485@dirtenator2
State Under Review
Headers show
Series [meta-multimedia] x265: support aarch64 | expand

Commit Message

S. Lockwood-Childs Oct. 6, 2022, 9:58 p.m. UTC
If PIC is turned on, x265 works on aarch64.

Signed-off-by: S. Lockwood-Childs <sjl@vctlabs.com>
---
 meta-multimedia/recipes-multimedia/x265/x265_3.2.1.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-multimedia/recipes-multimedia/x265/x265_3.2.1.bb b/meta-multimedia/recipes-multimedia/x265/x265_3.2.1.bb
index c36619b81..d786afe81 100644
--- a/meta-multimedia/recipes-multimedia/x265/x265_3.2.1.bb
+++ b/meta-multimedia/recipes-multimedia/x265/x265_3.2.1.bb
@@ -18,7 +18,8 @@  SRC_URI[sha256sum] = "fb9badcf92364fd3567f8b5aa0e5e952aeea7a39a2b864387cec31e3b5
 inherit lib_package pkgconfig cmake
 
 EXTRA_OECMAKE:append:x86 = " -DENABLE_ASSEMBLY=OFF"
+EXTRA_OECMAKE:append:aarch64 = " -DENABLE_PIC=ON"
 
 AS[unexport] = "1"
 
-COMPATIBLE_HOST = '(x86_64|i.86).*-linux'
+COMPATIBLE_HOST = '(x86_64|i.86|aarch64).*-linux'