diff --git a/xen/Makefile b/xen/Makefile index 074052d0b0..b7b5941159 100644 --- a/xen/Makefile +++ b/xen/Makefile @@ -113,10 +113,11 @@ else Q := @ endif -# If the user is running make -s (silent mode), suppress echoing of -# commands - -ifneq ($(findstring s,$(filter-out --%,$(MAKEFLAGS))),) +# If the user is running make -s (silent mode), suppress echoing of commands. +# Use MFLAGS (options only). MAKEFLAGS may include variable overrides after +# ā€œ--ā€ (GNU make 4.4 and newer), which can contain an ā€œsā€ and falsely trigger +# silent mode. +ifneq ($(findstring s,$(filter-out --%,$(MFLAGS))),) quiet := silent_ endif