Skip to content

Commit c39f476

Browse files
committed
Disable code coverage in infcover to fix undefined reference to __gcov_exit
1 parent 98768eb commit c39f476

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

test/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,6 @@ if(ZLIB_BUILD_STATIC)
9494

9595
add_executable(infcover infcover.c)
9696
target_link_libraries(infcover ZLIB::ZLIBSTATIC)
97-
target_compile_options(infcover PRIVATE -coverage)
98-
target_link_options(infcover PRIVATE -coverage)
9997
target_compile_definitions(
10098
infcover PRIVATE $<$<BOOL:${HAVE___ATTR__VIS_HIDDEN}>:HAVE_HIDDEN>)
10199
add_test(NAME zlib-coverage COMMAND infcover)

0 commit comments

Comments
 (0)