Christian Heimes added the comment:

Ah, got it. GNU sorts the arguments in MAKEFLAGS. The "s" flag is always in the 
first word.

$ make -j4 -s
"s --jobserver-fds=3,4 -j"

$ make --quiet -j4
"s --jobserver-fds=3,4 -j"

This make code works well for me:

ifeq (s,$(findstring s,$(word 1,$(MAKEFLAGS))))
    QUIET=-q
else
    QUIET=
endif

I've attached a patch that also fixes the quiet option for ctypes configure 
script.

----------
Added file: http://bugs.python.org/file27136/quiet.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15591>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to