From 1e21fa478bdd7a8ef12d322d14a58d449a9b3ce5 Mon Sep 17 00:00:00 2001 From: Gabriel Ferreira Date: Sat, 8 Mar 2025 18:07:34 +0000 Subject: [PATCH] build: Remove -Wno-error=class-memaccess for ARM builds with eigen Option is not supported by clang, and is better handled case-by-case --- build-support/macros-and-definitions.cmake | 5 ----- 1 file changed, 5 deletions(-) diff --git a/build-support/macros-and-definitions.cmake b/build-support/macros-and-definitions.cmake index b8599fdbf..8d76a7e15 100644 --- a/build-support/macros-and-definitions.cmake +++ b/build-support/macros-and-definitions.cmake @@ -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})