mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 13:45:36 -04:00
Remove lto from cflags
Otherwise a compile error is raised
This commit is contained in:
parent
5f2e466d86
commit
6e685e71b5
1 changed files with 1 additions and 1 deletions
|
|
@ -127,7 +127,7 @@ if(CMAKE_Fortran_COMPILER_ID STREQUAL GNU)
|
|||
endif()
|
||||
if(optimize)
|
||||
list(APPEND f90flags -O3 -flto -fuse-linker-plugin)
|
||||
list(APPEND cflags -O3 -flto -fuse-linker-plugin)
|
||||
list(APPEND cflags -O3)
|
||||
endif()
|
||||
if(openmp)
|
||||
list(APPEND f90flags -fopenmp)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue