BaseTools: Update antlr makefile to use cc by default

Update the antlr makefile to remove the explicit setting of CC to either
clang or gcc. This causes it to use /usr/bin/cc or whatever the user has
set $(CC) to.

This removes the last dependency on gcc for BaseTools.

Signed-off-by: Rebecca Cran <rebecca@bsdio.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
This commit is contained in:
Rebecca Cran 2023-04-05 10:01:26 -07:00 committed by mergify[bot]
parent 2bb6938949
commit 8d185dfb66
1 changed files with 0 additions and 5 deletions

View File

@ -164,11 +164,6 @@ PCCTS_H=../h
#
# UNIX (default)
#
ifneq ($(CLANG),)
CC?=$(CLANG_BIN)clang
else ifeq ($(origin CC),default)
CC=gcc
endif
COPT=-O
ANTLR=${BIN_DIR}/antlr
DLG=${BIN_DIR}/dlg