Makefile.in: Introduce SUPPRESS_WARNINGS for quieter CI build.

Due to how we handle building and compilation flags we end up with a lot
of warnings that are normally hidden. Let's introudce an option to
suppress them for CI builds to generate smaller, more searchable logs.
This commit is contained in:
Arkadiusz Hiler 2023-07-05 14:32:24 +03:00
parent 37cf4d2086
commit 7c21be5c27
2 changed files with 7 additions and 2 deletions

View file

@ -17,7 +17,7 @@ $$(OBJ)/.$(1)-build$(3):
$$(filter -j%,$$(MAKEFLAGS)) \
--target "$$(CARGO_TARGET_$(3))" \
--target-dir $$($(2)_OBJ$(3)) \
$$(CARGO_BUILD_ARG) \
$$(CARGO_BUILD_ARGS) \
$$($(2)_CARGO_ARGS) \
$$($(2)_CARGO_ARGS$(3))
touch $$@