--- src/pelib/subtree/CMakeLists.txt.orig	2026-04-10 17:09:54 UTC
+++ src/pelib/subtree/CMakeLists.txt
@@ -122,7 +122,7 @@ elseif(CMAKE_Fortran_COMPILER_ID MATCHES "GNU")
 # aspg: support for -march=native and -mtune=native is not available for many gnu compilers, at least not before gcc15 so we treat it differently
        set(CMAKE_Fortran_FLAGS_RELEASE "${CMAKE_Fortran_FLAGS_RELEASE} -Ofast")
     else()
-       set(CMAKE_Fortran_FLAGS_RELEASE "${CMAKE_Fortran_FLAGS_RELEASE} -Ofast -march=native -mtune=native")
+       set(CMAKE_Fortran_FLAGS_RELEASE "${CMAKE_Fortran_FLAGS_RELEASE} -Ofast")
     endif()
     set(CMAKE_Fortran_FLAGS_DEBUG "${CMAKE_Fortran_FLAGS_DEBUG} -Og -fcheck=all -fbacktrace -Wall -Wextra -Warray-temporaries -Wcharacter-truncation -Wconversion-extra -Wsurprising -Wimplicit-interface -Wimplicit-procedure -Wrealloc-lhs -Wrealloc-lhs-all")
     if(CMAKE_Fortran_COMPILER_VERSION VERSION_LESS "8.2.0")
