summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2020-02-05 15:12:11 +0000
committerIngo Schwarze <schwarze@openbsd.org>2020-02-05 15:12:11 +0000
commit080e3a370df9265baefbb8d3c11597bdcb5ee5fa (patch)
treea4c7c74b6ff1535257bd95880340f24be73c3886 /configure
parent14efe2c6c823f2302db7cdafc7276a6e09676f85 (diff)
downloadmandoc-080e3a370df9265baefbb8d3c11597bdcb5ee5fa.tar.gz
No longer try to ask make(1) what the default compiler is, just use "cc".
That line was a bad idea in the first place, it tried to be too clever, and it failed in different ways on different platforms. Even when it succeeded, what make(1) considered the default wasn't always useful. Having a simple and robust default and asking users to override it when needed is better.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index bc0ac0dc..f8888ed1 100755
--- a/configure
+++ b/configure
@@ -41,7 +41,7 @@ OSENUM=
OSNAME=
UTF8_LOCALE=
-CC=`printf "all:\\n\\t@echo \\\$(CC)\\n" | env -i make -sf -`
+CC=cc
CFLAGS=
LDADD=
LDFLAGS=