mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
When MAKEFLAGS contains '-s', invoke setup.py with '-q', to silence
its normally chatty nature. (This completes a side project to make "make -s" truly silent unless errors occur.)
This commit is contained in:
parent
111f60964e
commit
1140cb2b9e
1 changed files with 4 additions and 1 deletions
|
@ -297,7 +297,10 @@ platform: $(PYTHON)
|
|||
|
||||
# Build the shared modules
|
||||
sharedmods: $(PYTHON)
|
||||
CC='$(CC)' LDSHARED='$(LDSHARED)' ./$(PYTHON) -E $(srcdir)/setup.py build
|
||||
case $$MAKEFLAGS in \
|
||||
*-s*) CC='$(CC)' LDSHARED='$(LDSHARED)' ./$(PYTHON) -E $(srcdir)/setup.py -q build;; \
|
||||
*) CC='$(CC)' LDSHARED='$(LDSHARED)' ./$(PYTHON) -E $(srcdir)/setup.py build;; \
|
||||
esac
|
||||
|
||||
# buildno should really depend on something like LIBRARY_SRC
|
||||
buildno: $(PARSER_OBJS) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue