diff options
author | Christian Heimes <christian@cheimes.de> | 2012-12-02 07:14:50 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2012-12-02 07:14:50 (GMT) |
commit | 8ca1d5f7624b6304dceb575f334fcab8a17e59b2 (patch) | |
tree | 6973245e917b15eecc4694c29512e45de0d9a85e /Makefile.pre.in | |
parent | 343d530d67542d2272f2f72afff8a476bb7f9e8b (diff) | |
download | cpython-8ca1d5f7624b6304dceb575f334fcab8a17e59b2.zip cpython-8ca1d5f7624b6304dceb575f334fcab8a17e59b2.tar.gz cpython-8ca1d5f7624b6304dceb575f334fcab8a17e59b2.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 44c1f15..c014236 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -441,11 +441,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)' \ |