[PATCH] Enable automake silent rules
Corinna Vinschen
vinschen@redhat.com
Tue Dec 7 14:16:30 GMT 2021
On Dec 7 12:56, Jon Turney wrote:
> Use AM_SILENT_RULES, to enable automake silent rules (by default), if we
> are using a version of automake which supports it (>=1.11).
>
> Silent rules can be disabled by configuring with '--disable-silent-rules',
> or invoking 'make V=1'.
>
> For ease of reviewing, this patch doesn't contain configure and
> Makefile.in regeneration.
>
> Future work: There are a few compilations which are not silenced by
> this, as they use custom rules.
> ---
> newlib/acinclude.m4 | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/newlib/acinclude.m4 b/newlib/acinclude.m4
> index 05e545c9f..42af6b548 100644
> --- a/newlib/acinclude.m4
> +++ b/newlib/acinclude.m4
> @@ -121,6 +121,7 @@ AC_SUBST(newlib_basedir)
> AC_CANONICAL_HOST
>
> AM_INIT_AUTOMAKE([cygnus no-define 1.9.5])
> +m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES(yes)])
>
> # FIXME: We temporarily define our own version of AC_PROG_CC. This is
> # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
> --
> 2.34.1
Nice, please push.
Thanks,
Corinna
More information about the Newlib
mailing list