BUILD: makefile: change default value of CC from gcc to cc
authorBrad Smith <brad@comstyle.com>
Sun, 13 Sep 2020 06:53:06 +0000 (02:53 -0400)
committerWilly Tarreau <w@1wt.eu>
Tue, 15 Sep 2020 05:32:06 +0000 (07:32 +0200)
commit94636436dfda22487e0ac721a3545a656ae23498
treeb7a02a08e635e72852e1fcde6dbbd153f7d89d11
parent2d6fd0a90df8d3ab77f13c59e5f1efa3d271c42c
BUILD: makefile: change default value of CC from gcc to cc

Change the default value of CC from gcc to cc to be more appropriate
for modern day mix of compilers. On GCC based OS's cc -> gcc. On Clang
based OS's cc -> clang. FreeBSD / OpenBSD have switched to Clang and
this corrects building with the proper compiler on OS's using Clang
as the default compiler. This especially matters for the necessity for
TLS on OpenBSD. I would expect this affects OpenMandriva and other
Linux OS's using Clang as well.
Makefile