- Issue #16593: Have BSD 'make -s' do the right thing, thanks to Daniel Shahaf

This commit is contained in:
Christian Heimes 2012-12-02 08:14:50 +01:00
parent 80e9eedd12
commit 4fc0082602
1 changed files with 3 additions and 2 deletions

View File

@ -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)' \