diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2016-08-10 12:50:24 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2016-08-10 12:50:24 +0000 |
commit | 72aea85c53fcac9c83340ff235805d5227119998 (patch) | |
tree | 0304071932892583151c92f856214c81383e7242 | |
parent | 7b924e8a8456dcc91027409b05ad1daa42559c46 (diff) | |
download | mandoc-72aea85c53fcac9c83340ff235805d5227119998.tar.gz mandoc-72aea85c53fcac9c83340ff235805d5227119998.tar.zst mandoc-72aea85c53fcac9c83340ff235805d5227119998.zip |
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-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,6 +1,6 @@ #!/bin/sh # -# $Id: configure,v 1.50 2016/08/05 23:15:08 schwarze Exp $ +# $Id: configure,v 1.51 2016/08/10 12:50:24 schwarze Exp $ # # Copyright (c) 2014, 2015, 2016 Ingo Schwarze <schwarze@openbsd.org> # @@ -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= |