build: Remove -Wno-error=class-memaccess for ARM builds with eigen

Option is not supported by clang, and is better handled case-by-case
This commit is contained in:
Gabriel Ferreira
2025-03-08 18:07:34 +00:00
parent 4a2bc9cf85
commit 1e21fa478b

View File

@@ -555,11 +555,6 @@ macro(process_options)
if(${EIGEN3_FOUND})
set(ENABLE_EIGEN True)
# Prevent warning as error for ARM NEON PacketMath
if("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "aarch64")
add_compile_options(-Wno-error=class-memaccess)
endif()
add_definitions(-DHAVE_EIGEN3)
add_definitions(-DEIGEN_MPL2_ONLY)
if(NOT ${NS3_FORCE_LOCAL_DEPENDENCIES})