mirror of https://github.com/python/cpython
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
|
@ -297,7 +297,10 @@ platform: $(PYTHON)
|
||||||
|
|
||||||
# Build the shared modules
|
# Build the shared modules
|
||||||
sharedmods: $(PYTHON)
|
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 should really depend on something like LIBRARY_SRC
|
||||||
buildno: $(PARSER_OBJS) \
|
buildno: $(PARSER_OBJS) \
|
||||||
|
|
Loading…
Reference in New Issue