From 6e685e71b5823fcb8bc7813bdd2daa83f8d24525 Mon Sep 17 00:00:00 2001 From: Sterling Harper Date: Tue, 16 Feb 2016 13:53:12 -0500 Subject: [PATCH] Remove lto from cflags Otherwise a compile error is raised --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 05f03626e7..16cf914e58 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)