Remove lto from cflags

Otherwise a compile error is raised
This commit is contained in:
Sterling Harper 2016-02-16 13:53:12 -05:00
parent 5f2e466d86
commit 6e685e71b5

View file

@ -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)