summaryrefslogtreecommitdiff
path: root/build-aux
diff options
context:
space:
mode:
authorJia Tan <jiat0218@gmail.com>2023-01-11 00:51:01 +0800
committerJia Tan <jiat0218@gmail.com>2023-01-11 00:51:01 +0800
commit923eb689a4b863b6cca8df6360d4962aae994edf (patch)
treef5d6d4ffd90de745e908cdc651455f3c4c5c03a1 /build-aux
parentfeae5528a30c006b6e2f96a95116e20b983703fc (diff)
downloadxz-923eb689a4b863b6cca8df6360d4962aae994edf.tar.gz
CI/CD: Enables warnings as errors in autotool build.
This will help us catch warnings and potential bugs in builds that are not often tested by us.
Diffstat (limited to 'build-aux')
-rwxr-xr-xbuild-aux/ci_build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-aux/ci_build.sh b/build-aux/ci_build.sh
index 8c30902..6e26476 100755
--- a/build-aux/ci_build.sh
+++ b/build-aux/ci_build.sh
@@ -128,7 +128,7 @@ if [ "$PHASE" = "all" ] || [ "$PHASE" = "build" ]; then
fi
# Run configure script
- "$SRC_DIR"/configure --enable-checks=$CHECK_TYPE $EXTRA_OPTIONS
+ "$SRC_DIR"/configure --enable-werror --enable-checks=$CHECK_TYPE $EXTRA_OPTIONS
# Build the project
make