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