Correctly deal with make that has an argument which contains an "s"
diff mbox

Message ID 1272315374-11951-1-git-send-email-jason.wessel@windriver.com
State New, archived
Headers show

Commit Message

Jason Wessel April 26, 2010, 8:56 p.m. UTC
None

Patch
diff mbox

diff --git a/Makefile b/Makefile
index fa1db90..91ae299 100644
--- a/Makefile
+++ b/Makefile
@@ -294,7 +294,7 @@  endif
 # If the user is running make -s (silent mode), suppress echoing of
 # commands
 
-ifneq ($(findstring s,$(MAKEFLAGS)),)
+ifneq ($(filter s% -s% --silent --quiet,$(MAKEFLAGS)),)
   quiet=silent_
 endif