Skip to content

Commit

Permalink
add -flto to link options
Browse files Browse the repository at this point in the history
  • Loading branch information
JPenuchot committed May 19, 2023
1 parent db8a089 commit 89cfe3c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmake/ctbench-compile-opts.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,6 @@ target_compile_options(
-flto
-fPIC)

target_link_options(ctbench-compile-opts INTERFACE -flto)

target_compile_features(ctbench-compile-opts INTERFACE cxx_std_20)

0 comments on commit 89cfe3c

Please sign in to comment.