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:
parent
d3e1147705
commit
dd1c113574
|
@ -158,7 +158,7 @@ if [ "$PHASE" = "all" ] || [ "$PHASE" = "build" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Run configure script
|
# 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
|
# Build the project
|
||||||
make
|
make
|
||||||
|
|
Loading…
Reference in New Issue