Skip to content

Commit

Permalink
added -fPIC
Browse files Browse the repository at this point in the history
  • Loading branch information
JPenuchot committed May 19, 2023
1 parent 6679e6f commit db8a089
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cmake/ctbench-compile-opts.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ target_compile_options(
-Wold-style-cast
-Wdouble-promotion
-Wshadow
-fno-rtti
-march=native
-flto)
-fno-rtti
-flto
-fPIC)

target_compile_features(ctbench-compile-opts INTERFACE cxx_std_20)

0 comments on commit db8a089

Please sign in to comment.