Skip to content

Commit 2859fc4

Browse files
committed
removed default flto
1 parent 75f0c33 commit 2859fc4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ if (CMAKE_BUILD_TYPE STREQUAL "Debug")
8080
add_compile_definitions(SPDLOG_ACTIVE_LEVEL=SPDLOG_LEVEL_DEBUG)
8181
elseif (CMAKE_BUILD_TYPE STREQUAL "Release")
8282
add_compile_options(-O3 -DNDEBUG -Wall -march=native -mtune=native -fno-trapping-math -fno-math-errno)
83-
add_link_options(-flto)
8483
add_compile_definitions(SPDLOG_ACTIVE_LEVEL=SPDLOG_LEVEL_OFF)
8584
elseif (CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo")
8685
add_compile_options(-O2 -g3 -DNDEBUG -Wall -march=native -mtune=native -fno-omit-frame-pointer -fno-trapping-math -fno-math-errno)

0 commit comments

Comments
 (0)