From: Christian Heimes Date: Sun, 2 Dec 2012 07:14:50 +0000 (+0100) Subject: - Issue #16593: Have BSD 'make -s' do the right thing, thanks to Daniel Shahaf X-Git-Tag: v2.7.4rc1~330 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4fc00826024016f1a81ee4453902aa15e1a3ba75;p=thirdparty%2FPython%2Fcpython.git - Issue #16593: Have BSD 'make -s' do the right thing, thanks to Daniel Shahaf --- diff --git a/Makefile.pre.in b/Makefile.pre.in index b6578dec082c..1ce78b21527d 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)' \