CI: Enable --config-cache in autotool builds.

If CFLAGS are set in a build, the cache must be cleared with
"make distclean", or by deleting the cache file.
This commit is contained in:
Jia Tan 2023-01-18 21:51:43 +08:00
parent d3e1147705
commit dd1c113574
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ if [ "$PHASE" = "all" ] || [ "$PHASE" = "build" ]; then
fi
# Run configure script
"$SRC_DIR"/configure --enable-werror --enable-checks=$CHECK_TYPE $EXTRA_OPTIONS
"$SRC_DIR"/configure --enable-werror --enable-checks=$CHECK_TYPE $EXTRA_OPTIONS --config-cache
# Build the project
make