Skip to content

Commit 9751234

Browse files
committed
- Issue #16593: Have BSD 'make -s' do the right thing, thanks to Daniel Shahaf
1 parent 8663a79 commit 9751234

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

Makefile.pre.in

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -441,11 +441,12 @@ platform: $(BUILDPYTHON)
441441

442442

443443
# Build the shared modules
444-
# MAKEFLAGS are sorted and normalized. Under GNU make the 's' for
444+
# Under GNU make, MAKEFLAGS are sorted and normalized; the 's' for
445445
# -s, --silent or --quiet is always the first char.
446+
# Under BSD make, MAKEFLAGS might be " -s -v x=y".
446447
sharedmods: $(BUILDPYTHON)
447448
@case "$$MAKEFLAGS" in \
448-
s*) quiet="-q";; \
449+
*\ -s*|s*) quiet="-q";; \
449450
*) quiet="";; \
450451
esac; \
451452
$(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' \

Misc/NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -706,6 +706,8 @@ Tests
706706
Build
707707
-----
708708

709+
- Issue #16593: Have BSD 'make -s' do the right thing, thanks to Daniel Shahaf
710+
709711
- Issue #16262: fix out-of-src-tree builds, if mercurial is not installed.
710712

711713
- Issue #15923: fix a mistake in asdl_c.py that resulted in a TypeError after

0 commit comments

Comments
 (0)