[x265] [PATCH] Fix neon undefined symbols in armv6l,armv7l
Uthayakumar Muthu
uthayakumar.muthu at multicorewareinc.com
Wed Feb 26 05:37:38 UTC 2025
>From 98833ad27a3193dfc35b88b869423fd0cc8a1b22 Mon Sep 17 00:00:00 2001
From: Uthayakumar Muthu <uthayakumar.muthu at multicorewareinc.com>
Date: Sun, 12 Jan 2025 13:17:21 +0530
Subject: [PATCH] Fix neon undefined symbols in armv6l,armv7l
---
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.39.2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20250226/0072c124/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-neon-undefined-symbols-in-armv6l-armv7l.patch
Type: application/octet-stream
Size: 702 bytes
Desc: 0001-Fix-neon-undefined-symbols-in-armv6l-armv7l.patch
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20250226/0072c124/attachment.obj>
More information about the x265-devel
mailing list