[x265] [PATCH 3/3] AArch64: Compile intrinsics files with -Werror

Hari Limaye hari.limaye at arm.com
Tue Aug 20 17:42:23 UTC 2024


Add -Werror when compiling AArch64 intrinsics files to ensure that the
code is free from compiler warnings.
---
 source/common/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/source/common/CMakeLists.txt b/source/common/CMakeLists.txt
index 47b23bcd2..6b4b25618 100644
--- a/source/common/CMakeLists.txt
+++ b/source/common/CMakeLists.txt
@@ -136,6 +136,7 @@ if(ENABLE_ASSEMBLY AND (ARM64 OR CROSS_COMPILE_ARM64))
     endif()
 
     source_group(Assembly FILES ${ASM_PRIMITIVES})
+    set_source_files_properties(${ASM_PRIMITIVES} PROPERTIES COMPILE_FLAGS -Werror)
 endif(ENABLE_ASSEMBLY AND (ARM64 OR CROSS_COMPILE_ARM64))
 
 if(POWER)
-- 
2.42.1

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-AArch64-Compile-intrinsics-files-with-Werror.patch
Type: text/x-patch
Size: 1089 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20240820/ba3720a7/attachment.bin>


More information about the x265-devel mailing list