mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -04:00
Remove -flto flag for GCC optimize=on. Apparently causes trouble with gcc 5.4
This commit is contained in:
parent
5d4bd3079c
commit
9b1292fc15
1 changed files with 1 additions and 1 deletions
|
|
@ -126,7 +126,7 @@ if(CMAKE_Fortran_COMPILER_ID STREQUAL GNU)
|
|||
list(APPEND ldflags -pg)
|
||||
endif()
|
||||
if(optimize)
|
||||
list(APPEND f90flags -O3 -flto -fuse-linker-plugin)
|
||||
list(APPEND f90flags -O3)
|
||||
list(APPEND cflags -O3)
|
||||
endif()
|
||||
if(openmp)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue