From 4fc00826024016f1a81ee4453902aa15e1a3ba75 Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Sun, 2 Dec 2012 08:14:50 +0100 Subject: [PATCH] - Issue #16593: Have BSD 'make -s' do the right thing, thanks to Daniel Shahaf --- Makefile.pre.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile.pre.in b/Makefile.pre.in index b6578dec082..1ce78b21527 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -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)' \