◐ Shell
clean mode source ↗

Message 169920 - Python tracker

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.