summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2016-08-10 12:50:24 +0000
committerIngo Schwarze <schwarze@openbsd.org>2016-08-10 12:50:24 +0000
commit42ca8bda6fd0c1fbdc972e84c63dee32158a2497 (patch)
tree83a7412c4f5a760da66dc8344aa608d7f68bc475
parent8425d564a6c8625ee1a9ffd0a2757d9b2204d7ac (diff)
downloadmandoc-42ca8bda6fd0c1fbdc972e84c63dee32158a2497.tar.gz
When trying to figure out which C compiler make(1) wants to use,
pass it the POSIX -s option. On most systems, this won't make a difference, but Bdale Garbee reported that the make(1) on his Debian system, most likely some version of gmake, breaks Makefile.local by printing some 'entering directory' messages. I failed to reproduce and Bdale didn't report back, but judging from gmake source code, this is likely to help and unlikely to do harm elsewhere.
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index f5d8f3e1..38daf4ad 100755
--- a/configure
+++ b/configure
@@ -37,7 +37,7 @@ MANPATH_DEFAULT="/usr/share/man:/usr/X11R6/man:/usr/local/man"
OSNAME=
UTF8_LOCALE=
-CC=`printf "all:\\n\\t@echo \\\$(CC)\\n" | env -i make -f -`
+CC=`printf "all:\\n\\t@echo \\\$(CC)\\n" | env -i make -sf -`
CFLAGS="-g -W -Wall -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings"
CFLAGS="${CFLAGS} -Wno-unused-parameter"
LDADD=