diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-01-15 13:31:31 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-01-15 13:35:33 -0500 |
commit | 26242d9e53bcb0997000aa2a50c6c9a72f92541d (patch) | |
tree | 241687db6d6afdeee63b0d1bed651bb79ba6ce3b | |
parent | fe19f3c5e3464b3d6c36ef1bbbc33c4e4e803cda (diff) |
buildsys: fix detection of silent make
The MAKEFLAGS variable contains all the flags without the leading dash.
From the GNU make manual:
This variable is set up automatically by make to contain the flag
letters that make received. Thus, if you do ‘make -ks’ then MAKEFLAGS
gets the value ‘ks’.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r-- | Makerules | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -58,7 +58,7 @@ SHELL_SET_X := set +x define rel_srcdir $(shell $(CONFIG_SHELL) $(top_srcdir)/extra/scripts/relative_path.sh $(@D) .) endef -ifneq ($(findstring -s,$(MAKEFLAGS)),) +ifneq ($(findstring s,$(MAKEFLAGS)),) export MAKE_IS_SILENT := y SECHO := -@false DISP := sil |