diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-11-26 19:01:19 +0200 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-12-03 20:51:39 +0200 |
commit | 2f6fe4e4e9e9e35e713c0a20cf891b023592110a (patch) | |
tree | 7846bb617b2d8e01c88fd358b74557a677a60dc0 /ci/test/06_script_a.sh | |
parent | a0489f3472f3799dc1ece32a59556fd239c4c14b (diff) | |
download | bitcoin-2f6fe4e4e9e9e35e713c0a20cf891b023592110a.tar.xz |
ci: Build with --enable-werror by default, and document exceptions
Diffstat (limited to 'ci/test/06_script_a.sh')
-rwxr-xr-x | ci/test/06_script_a.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ci/test/06_script_a.sh b/ci/test/06_script_a.sh index 17d765b862..d99068cb10 100755 --- a/ci/test/06_script_a.sh +++ b/ci/test/06_script_a.sh @@ -6,7 +6,10 @@ export LC_ALL=C.UTF-8 -BITCOIN_CONFIG_ALL="--disable-dependency-tracking --prefix=$DEPENDS_DIR/$HOST --bindir=$BASE_OUTDIR/bin --libdir=$BASE_OUTDIR/lib" +BITCOIN_CONFIG_ALL="--enable-suppress-external-warnings --disable-dependency-tracking --prefix=$DEPENDS_DIR/$HOST --bindir=$BASE_OUTDIR/bin --libdir=$BASE_OUTDIR/lib" +if [ -z "$NO_WERROR" ]; then + BITCOIN_CONFIG_ALL="${BITCOIN_CONFIG_ALL} --enable-werror" +fi DOCKER_EXEC "ccache --zero-stats --max-size=$CCACHE_SIZE" BEGIN_FOLD autogen |