Issue #16593: Have BSD 'make -s' do the right thing, thanks to Daniel Shahaf
This commit is contained in:
commit
98cd0f262d
|
@ -478,11 +478,12 @@ pybuilddir.txt: $(BUILDPYTHON)
|
|||
$(RUNSHARED) $(PYTHON_FOR_BUILD) -S -m sysconfig --generate-posix-vars
|
||||
|
||||
# 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) pybuilddir.txt
|
||||
@case "$$MAKEFLAGS" in \
|
||||
s*) quiet="-q";; \
|
||||
*\ -s*|s*) quiet="-q";; \
|
||||
*) quiet="";; \
|
||||
esac; \
|
||||
$(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' \
|
||||
|
|
Loading…
Reference in New Issue