Skip to content

Commit 4dd8cc3

Browse files
authored
Merge branch 'master' into fix-cairo
2 parents 7761432 + 1eb3684 commit 4dd8cc3

2 files changed

Lines changed: 5 additions & 6 deletions

File tree

‎projects/bitcoin-core/Dockerfile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
2222
RUN 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

2626
RUN git clone --depth=1 https://github.com/bitcoin/bitcoin.git bitcoin-core

‎projects/bitcoin-core/build.sh‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff 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
)

0 commit comments

Comments
 (0)