Message169920
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. |
|
Date |
User |
Action |
Args |
2012-09-06 14:22:54 | christian.heimes | set | recipients:
+ christian.heimes, barry, doko, benjamin.peterson, Arfrever, python-dev |
2012-09-06 14:22:54 | christian.heimes | set | messageid: <1346941374.76.0.482628509105.issue15591@psf.upfronthosting.co.za> |
2012-09-06 14:22:54 | christian.heimes | link | issue15591 messages |
2012-09-06 14:22:54 | christian.heimes | create | |
|