Meson started warning when 'setup' is not used:
WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated.
Also add more quoting in output to make the message clearer.
if ! AR="$AR" \
CC="$CC" CC_LD="$LD" CFLAGS="-Werror" \
CXX="$CXX" CXX_LD="$LD" CXXFLAGS="-Werror" \
- meson -Dtests=unsafe -Dslow-tests=true -Dfuzz-tests=true --werror \
+ meson setup \
+ -Dtests=unsafe -Dslow-tests=true -Dfuzz-tests=true --werror \
-Dnobody-group=nogroup -Dcryptolib="${CRYPTOLIB:?}" \
$args build; then
fi
if ! meson compile -C build -v; then
- fatal "'meson compile' failed with $args"
+ fatal "'meson compile' failed with '$args'"
fi
for loader in build/src/boot/efi/*.efi; do
git clean -dxf
- success "Build with $args passed in $SECONDS seconds"
+ success "Build with '$args' passed in $SECONDS seconds"
done