diff options
author | Christian Heimes <christian@cheimes.de> | 2012-12-02 07:23:05 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2012-12-02 07:23:05 (GMT) |
commit | 98cd0f262d0c17b701bceb636cc0ac45253ca58e (patch) | |
tree | 769f334eb19a751ed731792dbb3a7e108e5e18ce /Makefile.pre.in | |
parent | daf28293e1a422efa222a493b378b4614e7c5512 (diff) | |
parent | 8ca1d5f7624b6304dceb575f334fcab8a17e59b2 (diff) | |
download | cpython-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.in | 5 |
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)' \ |