Skip to content

Commit 62b8278

Browse files
committed
remove gcc -mtune=native
1 parent 9f1d8e7 commit 62b8278

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/compilers.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ endif()
1818
# --- compiler options
1919

2020
if(CMAKE_Fortran_COMPILER_ID STREQUAL GNU)
21-
add_compile_options(-mtune=native -Wall -Wextra
21+
add_compile_options(-Wall -Wextra
2222
"$<$<COMPILE_LANGUAGE:Fortran>:-fimplicit-none>"
2323
"$<$<AND:$<COMPILE_LANGUAGE:Fortran>,$<CONFIG:Release>>:-fno-backtrace;-Wno-maybe-uninitialized>"
2424
"$<$<AND:$<COMPILE_LANGUAGE:Fortran>,$<CONFIG:RelWithDebInfo>>:-Wno-maybe-uninitialized>"

0 commit comments

Comments
 (0)