extras: ci: remove --disable from distcheck

Taking the same ideas as b46611fee3, we
can ensure the distcheck builds everything when run in the CI, so that
the currently disabled modules are built for real and tests can use
them. They should stay disabled since they would break distcheck when
the mandatory plugins cannot be built, but we can ensure that in the CI
in a reliable way.

We use it as an argument to make so that make actually erase the value
in the makefile.

Refs #27761 but medialibrary still needs to be installed on the platform
since contribs are not enabled with the current distcheck configuration.
This commit is contained in:
Alexandre Janniaux 2023-08-06 17:11:43 +02:00 committed by Steve Lhomme
parent 7bd0ba675b
commit 9459286c77
1 changed files with 1 additions and 1 deletions

View File

@ -295,7 +295,7 @@ debian:
# Build, check and distcheck VLC
export XZ_OPT="-T 0"
DISTCHECK_CONFIGURE_FLAGS="CFLAGS='$LIBVLC_EXTRA_CFLAGS'" make -j$NCPU distcheck || ./test/dump_stacktraces.sh
DISTCHECK_CONFIGURE_FLAGS="CFLAGS='$LIBVLC_EXTRA_CFLAGS'" make -j$NCPU distcheck AM_DISTCHECK_CONFIGURE_FLAGS="--enable-fast-install" || ./test/dump_stacktraces.sh
variables:
<<: *variables-debian
LIBVLC_EXTRA_CFLAGS: -Werror=restrict -Werror=incompatible-pointer-types