Skip to content

Commit 54422f1

Browse files
committed
Force static libc
1 parent 228c8b4 commit 54422f1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,7 @@ set(COMMON_LINK_LIBS
402402
)
403403
list(APPEND COMMON_LINK_LIBS ${PROTOBUF_LIBRARIES})
404404
set(COMMON_LINK_OPTIONS ${LIB_FUZZING_ENGINE_FLAG})
405+
list(APPEND COMMON_LINK_OPTIONS -static-libstdc++ -static-libgcc)
405406

406407
# Ensure that curl and its dependencies are built before the fuzzers
407408
set(FUZZ_DEPS curl_external ${CURL_DEPS} ${LIB_FUZZING_ENGINE_DEP} curl_fuzzer_proto libprotobuf_mutator_external)

0 commit comments

Comments
 (0)