File tree Expand file tree Collapse file tree 5 files changed +11
-4
lines changed Expand file tree Collapse file tree 5 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -25,4 +25,4 @@ export RUN_FUNCTIONAL_TESTS=false
25
25
export GOAL=" install"
26
26
# -Wno-psabi is to disable ABI warnings: "note: parameter passing for argument of type ... changed in GCC 7.1"
27
27
# This could be removed once the ABI change warning does not show up by default
28
- export BITCOIN_CONFIG=" --enable-glibc-back-compat --enable-reduce-exports CXXFLAGS=-Wno-psabi --enable-werror -- with-boost-process"
28
+ export BITCOIN_CONFIG=" --enable-glibc-back-compat --enable-reduce-exports CXXFLAGS=-Wno-psabi --with-boost-process"
Original file line number Diff line number Diff line change @@ -15,4 +15,4 @@ export XCODE_BUILD_ID=11C505
15
15
export RUN_UNIT_TESTS=false
16
16
export RUN_FUNCTIONAL_TESTS=false
17
17
export GOAL=" deploy"
18
- export BITCOIN_CONFIG=" --with-gui --enable-reduce-exports --enable-werror -- with-boost-process"
18
+ export BITCOIN_CONFIG=" --with-gui --enable-reduce-exports --with-boost-process"
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ export LC_ALL=C.UTF-8
9
9
export HOST=x86_64-apple-darwin18
10
10
export PIP_PACKAGES=" zmq"
11
11
export GOAL=" install"
12
- export BITCOIN_CONFIG=" --with-gui --enable-reduce-exports --enable-werror -- with-boost-process"
12
+ export BITCOIN_CONFIG=" --with-gui --enable-reduce-exports --with-boost-process"
13
13
export CI_OS_NAME=" macos"
14
14
export NO_DEPENDS=1
15
15
export OSX_SDK=" "
Original file line number Diff line number Diff line change @@ -14,3 +14,7 @@ export RUN_FUNCTIONAL_TESTS=false
14
14
export RUN_SECURITY_TESTS=" true"
15
15
export GOAL=" deploy"
16
16
export BITCOIN_CONFIG=" --enable-reduce-exports --disable-gui-tests --without-boost-process"
17
+
18
+ # Compiler for MinGW-w64 causes false -Wreturn-type warning.
19
+ # See https://sourceforge.net/p/mingw-w64/bugs/306/
20
+ export NO_WERROR=1
Original file line number Diff line number Diff line change 6
6
7
7
export LC_ALL=C.UTF-8
8
8
9
- BITCOIN_CONFIG_ALL=" --disable-dependency-tracking --prefix=$DEPENDS_DIR /$HOST --bindir=$BASE_OUTDIR /bin --libdir=$BASE_OUTDIR /lib"
9
+ BITCOIN_CONFIG_ALL=" --enable-suppress-external-warnings --disable-dependency-tracking --prefix=$DEPENDS_DIR /$HOST --bindir=$BASE_OUTDIR /bin --libdir=$BASE_OUTDIR /lib"
10
+ if [ -z " $NO_WERROR " ]; then
11
+ BITCOIN_CONFIG_ALL=" ${BITCOIN_CONFIG_ALL} --enable-werror"
12
+ fi
10
13
DOCKER_EXEC " ccache --zero-stats --max-size=$CCACHE_SIZE "
11
14
12
15
BEGIN_FOLD autogen
You can’t perform that action at this time.
0 commit comments