[build] Respect $CC

On BSD systems 'gcc' is not the default compiler.
But $CC is honored.  This also makes it build with ccache.
pull/723/head
David Yeske 2022-08-26 06:02:17 -04:00
parent c5af41a6f5
commit e29639006e
1 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ SYMBOL_PREFIX :=
#
# Locations of tools
#
HOST_CC := gcc
HOST_CC := $(CC)
RM := rm -f
TOUCH := touch
MKDIR := mkdir
@ -26,7 +26,7 @@ PRINTF := printf
PERL := perl
PYTHON := python
TRUE := true
CC := $(CROSS_COMPILE)gcc
CC := $(CROSS_COMPILE)$(CC)
CPP := $(CC) -E
AS := $(CROSS_COMPILE)as
LD := $(CROSS_COMPILE)ld