diff --git a/CMakeLists.txt b/CMakeLists.txt index 07d00e5b..15a30fb2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -236,11 +236,6 @@ include (TargetArch) target_architecture (DETECTED_ARCH) message (STATUS "Target arch is ${DETECTED_ARCH}") -#-march=native for ARM when not defined/forced -if (DETECTED_ARCH MATCHES "arm.*" AND NOT CMAKE_CXX_FLAGS MATCHES "-march") - set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=native") -endif() - # enable c++11 standards support unconditionally include(CheckCXXCompilerFlag) if (CMAKE_VERSION VERSION_LESS "3.1")