From 902cd39eea04826a46097ae7cd4ccecc3411bcb1 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Wed, 5 Feb 2020 15:12:11 +0000 Subject: 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. --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 2df028da..053fe43f 100755 --- a/configure +++ b/configure @@ -1,6 +1,6 @@ #!/bin/sh # -# $Id: configure,v 1.71 2019/07/01 22:56:24 schwarze Exp $ +# $Id: configure,v 1.72 2020/02/05 15:12:11 schwarze Exp $ # # Copyright (c) 2014-2019 Ingo Schwarze # @@ -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= -- cgit v1.2.3