newlib: Enable automake silent rules

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.
This commit is contained in:
Jon Turney 2021-07-23 14:57:24 +01:00
parent 366e43a30c
commit 2b6f088ac3
No known key found for this signature in database
GPG Key ID: C7C86F0370285C81
2 changed files with 4 additions and 0 deletions

View File

@ -127,6 +127,9 @@ directories, you can run `make' on them in parallel (for example, if
they are NFS-mounted on each of the hosts); they will not interfere they are NFS-mounted on each of the hosts); they will not interfere
with each other. with each other.
By default, the execution of build rules in `make' is less verbose.
To disable, run `make V=1'; or use the `--disable-silent-rules option
of `./configure'.
Specifying names for hosts and targets Specifying names for hosts and targets
====================================== ======================================

View File

@ -121,6 +121,7 @@ AC_SUBST(newlib_basedir)
AC_CANONICAL_HOST AC_CANONICAL_HOST
AM_INIT_AUTOMAKE([cygnus no-define 1.9.5]) 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 # 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 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We