Skip to content

Commit

Permalink
LTO is what you need
Browse files Browse the repository at this point in the history
  • Loading branch information
nindanaoto committed Apr 10, 2024
1 parent 37cc841 commit 6eb1447
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ if(DEBUG)
"-march=native -g -Wall -Wextra -pedantic -Wno-sign-compare")
else()
set(CMAKE_CXX_FLAGS
"-march=native -O3 -g -flto -funroll-loops -Wall -Wextra -pedantic -Wno-sign-compare"
"-march=native -O3 -g -funroll-loops -Wall -Wextra -pedantic -Wno-sign-compare"
)
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION TRUE)
endif()

option(USE_80BIT_SECURITY "Use 80bit security parameter(faster)" OFF)
Expand Down

0 comments on commit 6eb1447

Please sign in to comment.