summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2012-12-02 06:37:35 (GMT)
committerChristian Heimes <christian@cheimes.de>2012-12-02 06:37:35 (GMT)
commit17ad40e46e2bae1ae12ddbf563f6a95e72d304af (patch)
tree043a9195d19482befa84d6d467a01af2020b5ea1 /Makefile.pre.in
parentcbb028466b6d303c40daef2e5a2f3e072dc0fa94 (diff)
downloadcpython-17ad40e46e2bae1ae12ddbf563f6a95e72d304af.zip
cpython-17ad40e46e2bae1ae12ddbf563f6a95e72d304af.tar.gz
cpython-17ad40e46e2bae1ae12ddbf563f6a95e72d304af.tar.bz2
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 ece1f34..54755b9 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)' \