Skip to content

Commit

Permalink
Prevent fuzzer build breaks on warnings (#1256)
Browse files Browse the repository at this point in the history
  • Loading branch information
sashashura authored Dec 6, 2023
1 parent ce1b397 commit 839cf6d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,10 @@ if(PCAPPP_TARGET_COMPILER_CLANG
add_compile_options(-Wall)
endif()

if(PCAPPP_BUILD_FUZZERS)
add_compile_options(-w)
endif()

# Static linking GCC/Threads for minGW (Windows + GNU)
if(MINGW)
add_link_options(-static-libgcc -static-libstdc++)
Expand Down

0 comments on commit 839cf6d

Please sign in to comment.