aboutsummaryrefslogtreecommitdiff
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
parentCI/CD: Add -f argument to set CFLAGS in ci_build.sh. (diff)
downloadxz-923eb689a4b863b6cca8df6360d4962aae994edf.tar.xz
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.
-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 8c309028..6e264769 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