diff --git a/CMakeLists.txt b/CMakeLists.txt index 4827d62..8ffbf2b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -36,7 +36,7 @@ if(${CMAKE_Fortran_COMPILER_ID} STREQUAL "GNU") set (CMAKE_Fortran_FLAGS "-cpp -g -Og -fPIC -fcheck=all -fbacktrace \ -fno-realloc-lhs -fopenmp -Wall -Wextra -Werror \ - -Wno-unused-function -fmax-errors=1 -Wl,--no-warn-execstack") + -Wno-unused-function -fmax-errors=1") # https://github.com/numpy/numpy/issues/25777 set (CMAKE_C_FLAGS "-Wno-error=incompatible-pointer-types")