diff options
author | Christian Heimes <christian@cheimes.de> | 2012-12-02 08:14:50 +0100 |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2012-12-02 08:14:50 +0100 |
commit | 4fc00826024016f1a81ee4453902aa15e1a3ba75 (patch) | |
tree | 08ddf72bfa671993d0486b452cf2cf59f00f65f7 | |
parent | 80e9eedd122014e38d83f188c31a3519ec8f3f0d (diff) | |
download | cpython-git-4fc00826024016f1a81ee4453902aa15e1a3ba75.tar.gz |
- Issue #16593: Have BSD 'make -s' do the right thing, thanks to Daniel Shahaf
-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 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)' \ |