Skip to contentSkip to conversation

x265: support aarch64

PATCH New S. Lockwood-Childs 1 participant 1 message Oct 6, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x265: support aarch64

If PIC is turned on, x265 works on aarch64.

---
 meta-multimedia/recipes-multimedia/x265/x265_3.2.1.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta-multimedia/recipes-multimedia/x265/x265_3.2.1.bb +2 -1
index c36619b81..d786afe81 100644
@@ -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'
Signature · 1 line
2.34.1