File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,9 +18,9 @@ FROM gcr.io/oss-fuzz-base/base-builder
1818
1919# Packages taken from:
2020# * https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.md#dependencies
21- # * https://github.com/bitcoin/bitcoin/blob/master/depends/README.md#for-linux-including-i386-arm-cross-compilation
21+ # * https://github.com/bitcoin/bitcoin/blob/master/depends/README.md#ubuntu--debian
2222RUN apt-get update && apt-get install -y \
23- build-essential curl g++-multilib make \
23+ build-essential curl g++-10 make \
2424 patch python3 zip
2525
2626RUN git clone --depth=1 https://github.com/bitcoin/bitcoin.git bitcoin-core
Original file line number Diff line number Diff line change @@ -39,11 +39,10 @@ export CPPFLAGS="-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_DEBUG -DBOOST_M
3939(
4040 cd depends
4141 sed -i --regexp-extended ' /.*rm -rf .*extract_dir.*/d' ./funcs.mk # Keep extracted source
42- # Disable IPC until a fuzz test actually needs it
43- # At that point, as workaround can be added to remove capnps
44- # internal oss-fuzz detection: https://github.com/google/oss-fuzz/pull/14203#issuecomment-3461008642
42+ # Prevent Cap'n Proto from building its own OSS-Fuzz target.
43+ unset LIB_FUZZING_ENGINE
4544 make HOST=$BUILD_TRIPLET DEBUG=1 NO_QT=1 NO_ZMQ=1 NO_USDT=1 \
46- NO_IPC=1 \
45+ build_CC=gcc-10 build_CXX=g++-10 \
4746 AR=llvm-ar NM=llvm-nm RANLIB=llvm-ranlib STRIP=llvm-strip \
4847 -j$( nproc)
4948)
You can’t perform that action at this time.
0 commit comments