消息 [169920]
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. |
|
| 日期 |
用户 |
动作 |
参数 |
| 2012-09-06 14:22:54 | christian.heimes | 修改 | recipients:
+ christian.heimes, barry, doko, benjamin.peterson, Arfrever, python-dev |
| 2012-09-06 14:22:54 | christian.heimes | 修改 | messageid: <1346941374.76.0.482628509105.issue15591@psf.upfronthosting.co.za> |
| 2012-09-06 14:22:54 | christian.heimes | 链接 | issue15591 messages |
| 2012-09-06 14:22:54 | christian.heimes | 创建 | |
|