Skip to content

Commit

Permalink
Removing fprofile-arcs from shared library
Browse files Browse the repository at this point in the history
  • Loading branch information
ifilot committed Dec 25, 2023
1 parent 65bd917 commit 50d8497
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ if(USE_GCOV)
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -lgcov -fprofile-arcs -ftest-coverage")

# Link flags used for creating shared libraries
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -lgcov -profile-arcs -ftest-coverage")
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -lgcov -ftest-coverage")
endif()

# add custom directory to look for .cmake files
Expand Down

0 comments on commit 50d8497

Please sign in to comment.