Files
buildroot/package/x265/0004-Fix-neon-undefined-symbols-in-armv6l-armv7l.patch
Bernd Kuhls ae29b86dc4 package/x265: bump version to 4.1
Release notes:
4.1: https://mailman.videolan.org/pipermail/x265-devel/2024-November/014095.html
4.0: https://mailman.videolan.org/pipermail/x265-devel/2024-September/013940.html
3.6: https://mailman.videolan.org/pipermail/x265-devel/2024-April/013664.html

Rebased patch 0001 and removed patch 0002 due to upstream commit
4bf31dc15f

Added patches 0002 & 0003 to fix build with CMake 4.x.

Added patch 0004 and adjusted _CONF_OPTS to fix non-NEON build.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-10-12 18:49:55 +02:00

29 lines
852 B
Diff

From ddb1933598736394b646cb0f78da4a4201ffc656 Mon Sep 17 00:00:00 2001
From: Uthayakumar Muthu <uthayakumar.muthu@multicorewareinc.com>
Date: Sun, 12 Jan 2025 13:17:21 +0530
Subject: [PATCH] Fix neon undefined symbols in armv6l,armv7l
Upstream: https://bitbucket.org/multicoreware/x265_git/commits/ddb1933598736394b646cb0f78da4a4201ffc656
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
source/common/cpu.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/source/common/cpu.cpp b/source/common/cpu.cpp
index ae0907890..35c43deaf 100644
--- a/source/common/cpu.cpp
+++ b/source/common/cpu.cpp
@@ -352,7 +352,7 @@ uint32_t cpu_detect(bool benableavx512)
{
int flags = 0;
-#if HAVE_ARMV6
+#if HAVE_ARMV6 && ENABLE_ASSEMBLY
flags |= X265_CPU_ARMV6;
// don't do this hack if compiled with -mfpu=neon
--
2.51.0