Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 17ad40e

Browse files
committed
Have BSD 'make -s' do the right thing, thanks to Daniel Shahaf
1 parent cbb0284 commit 17ad40e

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

Makefile.pre.in

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -478,11 +478,12 @@ pybuilddir.txt: $(BUILDPYTHON)
478478
$(RUNSHARED) $(PYTHON_FOR_BUILD) -S -m sysconfig --generate-posix-vars
479479

480480
# Build the shared modules
481-
# MAKEFLAGS are sorted and normalized. Under GNU make the 's' for
481+
# Under GNU make, MAKEFLAGS are sorted and normalized; the 's' for
482482
# -s, --silent or --quiet is always the first char.
483+
# Under BSD make, MAKEFLAGS might be " -s -v x=y".
483484
sharedmods: $(BUILDPYTHON) pybuilddir.txt
484485
@case "$$MAKEFLAGS" in \
485-
s*) quiet="-q";; \
486+
*\ -s*|s*) quiet="-q";; \
486487
*) quiet="";; \
487488
esac; \
488489
$(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' \

Misc/ACKS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1075,6 +1075,7 @@ Jerry Seutter
10751075
Pete Sevander
10761076
Denis Severson
10771077
Ian Seyer
1078+
Daniel Shahaf
10781079
Ha Shao
10791080
Mark Shannon
10801081
Richard Shapiro

Misc/NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,8 @@ Tests
408408
Build
409409
-----
410410

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

413415
- Issue #15298: ensure _sysconfigdata is generated in build directory, not

0 commit comments

Comments
 (0)