summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2012-12-02 08:14:50 +0100
committerChristian Heimes <christian@cheimes.de>2012-12-02 08:14:50 +0100
commit4fc00826024016f1a81ee4453902aa15e1a3ba75 (patch)
tree08ddf72bfa671993d0486b452cf2cf59f00f65f7
parent80e9eedd122014e38d83f188c31a3519ec8f3f0d (diff)
downloadcpython-git-4fc00826024016f1a81ee4453902aa15e1a3ba75.tar.gz
- Issue #16593: Have BSD 'make -s' do the right thing, thanks to Daniel Shahaf
-rw-r--r--Makefile.pre.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index b6578dec08..1ce78b2152 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -410,11 +410,12 @@ platform: $(BUILDPYTHON)
# 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)
@case "$$MAKEFLAGS" in \
- s*) quiet="-q";; \
+ *\ -s*|s*) quiet="-q";; \
*) quiet="";; \
esac; \
$(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' \