Enable the verbose build for extension modules with GNU make (#6659)
This commit is contained in:
parent
7e3545c70c
commit
10f715d712
|
@ -601,11 +601,15 @@ $(srcdir)/Modules/_blake2/blake2s_impl.c: $(srcdir)/Modules/_blake2/blake2b_impl
|
||||||
# Under GNU make, MAKEFLAGS are sorted and normalized; the 's' for
|
# Under GNU make, MAKEFLAGS are sorted and normalized; the 's' for
|
||||||
# -s, --silent or --quiet is always the first char.
|
# -s, --silent or --quiet is always the first char.
|
||||||
# Under BSD make, MAKEFLAGS might be " -s -v x=y".
|
# Under BSD make, MAKEFLAGS might be " -s -v x=y".
|
||||||
|
# Ignore macros passed by GNU make, passed after --
|
||||||
sharedmods: $(BUILDPYTHON) pybuilddir.txt Modules/_math.o
|
sharedmods: $(BUILDPYTHON) pybuilddir.txt Modules/_math.o
|
||||||
@case "$$MAKEFLAGS" in \
|
@case "`echo X $$MAKEFLAGS | sed 's/^X //;s/ -- .*//'`" in \
|
||||||
*\ -s*|s*) quiet="-q";; \
|
*\ -s*|s*) quiet="-q";; \
|
||||||
*) quiet="";; \
|
*) quiet="";; \
|
||||||
esac; \
|
esac; \
|
||||||
|
echo "$(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' \
|
||||||
|
_TCLTK_INCLUDES='$(TCLTK_INCLUDES)' _TCLTK_LIBS='$(TCLTK_LIBS)' \
|
||||||
|
$(PYTHON_FOR_BUILD) $(srcdir)/setup.py $$quiet build"; \
|
||||||
$(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' \
|
$(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' \
|
||||||
_TCLTK_INCLUDES='$(TCLTK_INCLUDES)' _TCLTK_LIBS='$(TCLTK_LIBS)' \
|
_TCLTK_INCLUDES='$(TCLTK_INCLUDES)' _TCLTK_LIBS='$(TCLTK_LIBS)' \
|
||||||
$(PYTHON_FOR_BUILD) $(srcdir)/setup.py $$quiet build
|
$(PYTHON_FOR_BUILD) $(srcdir)/setup.py $$quiet build
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
Enable the verbose build for extension modules, when GNU make is passed
|
||||||
|
macros on the command line.
|
Loading…
Reference in New Issue