summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2012-12-02 07:23:05 (GMT)
committerChristian Heimes <christian@cheimes.de>2012-12-02 07:23:05 (GMT)
commit98cd0f262d0c17b701bceb636cc0ac45253ca58e (patch)
tree769f334eb19a751ed731792dbb3a7e108e5e18ce /Makefile.pre.in
parentdaf28293e1a422efa222a493b378b4614e7c5512 (diff)
parent8ca1d5f7624b6304dceb575f334fcab8a17e59b2 (diff)
downloadcpython-98cd0f262d0c17b701bceb636cc0ac45253ca58e.zip
cpython-98cd0f262d0c17b701bceb636cc0ac45253ca58e.tar.gz
cpython-98cd0f262d0c17b701bceb636cc0ac45253ca58e.tar.bz2
Issue #16593: Have BSD 'make -s' do the right thing, thanks to Daniel Shahaf
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index c4243f3..084ff9f 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -478,11 +478,12 @@ pybuilddir.txt: $(BUILDPYTHON)
$(RUNSHARED) $(PYTHON_FOR_BUILD) -S -m sysconfig --generate-posix-vars
# Build the shared modules
-# MAKEFLAGS are sorted and normalized. Under GNU make the 's' for
+# 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".
sharedmods: $(BUILDPYTHON) pybuilddir.txt
@case "$$MAKEFLAGS" in \
- s*) quiet="-q";; \
+ *\ -s*|s*) quiet="-q";; \
*) quiet="";; \
esac; \
$(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' \