- Issue #16593: Have BSD 'make -s' do the right thing, thanks to Daniel Shahaf
This commit is contained in:
parent
80e9eedd12
commit
4fc0082602
|
@ -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)' \
|
||||
|
|
Loading…
Reference in New Issue