diff options
| author | Hennadii Stepanov <[email protected]> | 2020-11-26 19:01:19 +0200 |
|---|---|---|
| committer | Ross Nicoll <[email protected]> | 2021-07-11 22:46:39 +0100 |
| commit | 7ba4e5a5da4a6cf7ab3189c0f06a34057915a48d (patch) | |
| tree | f27b2a0d1fda8e56e0fbb3beb105883321682314 /ci/test/06_script_a.sh | |
| parent | Disable test which always times out (diff) | |
| download | discoin-7ba4e5a5da4a6cf7ab3189c0f06a34057915a48d.tar.xz discoin-7ba4e5a5da4a6cf7ab3189c0f06a34057915a48d.zip | |
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 a3e31d940..d43698190 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 |