diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-05-01 23:57:24 -0700 |
---|---|---|
committer | Matthias Klose <doko42@users.noreply.github.com> | 2018-05-02 08:57:24 +0200 |
commit | 3c5d3f519d092ea845fa6673df1222fdd668430b (patch) | |
tree | dcef0a43a81872100e9d2c85a3588207b1d37ff7 /Makefile.pre.in | |
parent | 9da7ee40037fa30d0d28fd8d7c652cde14e5a834 (diff) | |
download | cpython-git-3c5d3f519d092ea845fa6673df1222fdd668430b.tar.gz |
Enable the verbose build for extension modules with GNU make (GH-6659) (#6662)
(cherry picked from commit 10f715d71218ece737f990fa55027b8e1120cc3a)
Co-authored-by: Matthias Klose <doko42@users.noreply.github.com>
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r-- | Makefile.pre.in | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in index 3a7324f509..4c23c0e411 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -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 # -s, --silent or --quiet is always the first char. # 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 - @case "$$MAKEFLAGS" in \ + @case "`echo X $$MAKEFLAGS | sed 's/^X //;s/ -- .*//'`" in \ *\ -s*|s*) quiet="-q";; \ *) quiet="";; \ 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)' \ _TCLTK_INCLUDES='$(TCLTK_INCLUDES)' _TCLTK_LIBS='$(TCLTK_LIBS)' \ $(PYTHON_FOR_BUILD) $(srcdir)/setup.py $$quiet build |