* [PATCH] gold: enable silent build rules
@ 2021-11-26 4:31 Mike Frysinger
2021-11-30 23:18 ` Cary Coutant
0 siblings, 1 reply; 2+ messages in thread
From: Mike Frysinger @ 2021-11-26 4:31 UTC (permalink / raw)
To: binutils
---
gold/configure | 39 +++++++++++++++++++++++++++++++++++++++
gold/configure.ac | 1 +
2 files changed, 40 insertions(+)
diff --git a/gold/configure b/gold/configure
index b9f062b68eb4..5f5b8c3602b0 100755
--- a/gold/configure
+++ b/gold/configure
@@ -3405,6 +3405,45 @@ END
fi
fi
+# Check whether --enable-silent-rules was given.
+if test "${enable_silent_rules+set}" = set; then :
+ enableval=$enable_silent_rules;
+fi
+
+case $enable_silent_rules in # (((
+ yes) AM_DEFAULT_VERBOSITY=0;;
+ no) AM_DEFAULT_VERBOSITY=1;;
+ *) AM_DEFAULT_VERBOSITY=0;;
+esac
+am_make=${MAKE-make}
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
+$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
+if ${am_cv_make_support_nested_variables+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if $as_echo 'TRUE=$(BAR$(V))
+BAR0=false
+BAR1=true
+V=1
+am__doit:
+ @$(TRUE)
+.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
+ am_cv_make_support_nested_variables=yes
+else
+ am_cv_make_support_nested_variables=no
+fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
+$as_echo "$am_cv_make_support_nested_variables" >&6; }
+if test $am_cv_make_support_nested_variables = yes; then
+ AM_V='$(V)'
+ AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
+else
+ AM_V=$AM_DEFAULT_VERBOSITY
+ AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
+fi
+AM_BACKSLASH='\'
+
ac_config_headers="$ac_config_headers config.h:config.in"
diff --git a/gold/configure.ac b/gold/configure.ac
index 1716a779416a..042b9f06437c 100644
--- a/gold/configure.ac
+++ b/gold/configure.ac
@@ -23,6 +23,7 @@ AC_CONFIG_SRCDIR(gold.cc)
AC_CANONICAL_TARGET
AM_INIT_AUTOMAKE([no-dist parallel-tests])
+AM_SILENT_RULES([yes])
AM_CONFIG_HEADER(config.h:config.in)
--
2.33.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] gold: enable silent build rules
2021-11-26 4:31 [PATCH] gold: enable silent build rules Mike Frysinger
@ 2021-11-30 23:18 ` Cary Coutant
0 siblings, 0 replies; 2+ messages in thread
From: Cary Coutant @ 2021-11-30 23:18 UTC (permalink / raw)
To: Mike Frysinger; +Cc: Binutils
> gold/configure | 39 +++++++++++++++++++++++++++++++++++++++
> gold/configure.ac | 1 +
> 2 files changed, 40 insertions(+)
This is OK. Thanks!
-cary
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-11-30 23:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-26 4:31 [PATCH] gold: enable silent build rules Mike Frysinger
2021-11-30 23:18 ` Cary Coutant
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).